Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Which generates the following error:$file =~ /^([-\w.]+)$/; $file = $1; $realm =~ /^([-\w.]+)$/; $realm = $1; $user_dir =~ /^([-\w.]+)$/; $user_dir = $1; unlink("/home/httpd/sec-html/$realm/$user_dir/$file");
What am I doing wrong? Thanks. -ToddInsecure dependency in unlink while running with -T switch at /home/ht +tpd/sec-cgi/surflo/todd/delete line 47.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Having problems with unlink and taint mode.
by chromatic (Archbishop) on Jan 18, 2002 at 10:24 UTC | |
|
Re: Having problems with unlink and taint mode.
by Anonymous Monk on Jan 18, 2002 at 08:49 UTC |