Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Printing regular expression variable

by ww (Archbishop)
on May 28, 2013 at 15:04 UTC ( [id://1035628]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Printing regular expression variable
in thread Printing regular expression variable

"...my own CGI untainting library which uses regular expression variables like qr/^.*$/ to validate incoming data."
Err, your example regex validates nothing; untaints nothing. If it's merely a simple example that occured to you for the purposes of your question, fine; if you believe it's doing something useful, you err.

If you didn't program your executable by toggling in binary, it wasn't really programming!

  • Comment on Re^3: Printing regular expression variable

Replies are listed 'Best First'.
Re^4: Printing regular expression variable
by MattLG (Sexton) on May 28, 2013 at 22:42 UTC
    If it's merely a simple example that occured to you for the purposes of your question, fine

    I thought that was obvious, what would be the point of tainting the input and then just using ^.*$ on everything?

    MattLG

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-16 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found