Don't ask to ask, just ask | |
PerlMonks |
Re^2: request for review: file reading securityby Anonymous Monk |
on Sep 05, 2004 at 14:32 UTC ( [id://388611]=note: print w/replies, xml ) | Need Help?? |
Your line $req = 'index' if -e $req;
will make all requests invoke "index"
no it won't. The QUERY_STRING should not match anything, since the filename would be composed as pages/QUERY_STRING.html That's why if it matches any file, it should roll back to a default.
In Section
Seekers of Perl Wisdom
|
|