Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: request for review: file reading security

by Anonymous Monk
on Sep 05, 2004 at 14:32 UTC ( #388611=note: print w/replies, xml ) Need Help??


in reply to Re: request for review: file reading security
in thread request for review: file reading security

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.

  • Comment on Re^2: request for review: file reading security

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://388611]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2023-12-11 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?