Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: (nrd) removing special characters

by newrisedesigns (Curate)
on Feb 13, 2003 at 20:37 UTC ( #235099=note: print w/ replies, xml ) Need Help??

in reply to Re: removing special characters
in thread removing special characters

Taint check. It is the only way.™

my $param = $q->param("text") || ''; #for example... if($param =~ /^([\w\s]+)/){ # modify as needed $param = $1; } else{ return 0; # or die, or croak, or warn, or something! }

John J Reiser

Comment on Re: Re: (nrd) removing special characters
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-07-29 03:41 GMT
Find Nodes?
    Voting Booth?

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

    Results (260 votes), past polls