Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: untainting regex input

by Anonymous Monk
on Aug 23, 2013 at 07:21 UTC ( #1050607=note: print w/ replies, xml ) Need Help??


in reply to untainting regex input

You might use Regexp::English /PPIx::Regexp / Regexp::Debugger, see links and content in Re: Wanted: Perl Regex Pretty Printer (almost, rxrx, rxplain)

Reject anything with errors, remove code nodes, escape literals ... insert callback/for recursion/backtracking/ abortion

Or allow only limited subset to be built ... insert callback for recursion /backtracking detection/abortion


Comment on Re: untainting regex input

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (20)
As of 2015-07-07 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls