Perl: docasne vypnuti switche T
Honza Pazdziora
adelton na informatics.muni.cz
Čtvrtek Říjen 29 13:09:48 CET 1998
> ve svych cgi skriptech mam standardne zapnut switch T (taint check); pokud
> takovy skript pustim pod mod_perlem, padne uz pri kompilaci na temer
> jakekoliv pouziti eval() s tim, ze je to nebezpecne.
> Da se nejak taint vypnout/obejit v pripadech, kdy si jsem jisty, ze zadne
> problemy nanastanou?
Man perlsec. Ja potreba udelat z tainted promenne promennou netainted.
The only way to bypass the tainting mechanism is by referencing
subpatterns from a regular expression match. Perl presumes
that if you reference a substring using $1, $2, etc., that you
knew what you were doing when you wrote the pattern.
Doufam, ze to pomuze,
------------------------------------------------------------------------
Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
I can take or leave it if I please
------------------------------------------------------------------------
Další informace o konferenci Linux