Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: CGI - hazardous charactersby fullermd (Priest) |
on Jul 20, 2010 at 00:35 UTC ( [id://850335]=note: print w/replies, xml ) | Need Help?? |
As a general rule, removing "special" (whatever that may mean in a particular context) characters is a much more dangerous and fragile solution than removing everything but "normal" characters. Figure out what you want to allow, and then remove (or throw errors for) anything else.
In Section
Seekers of Perl Wisdom
|
|