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
newrisedesigns.com
In reply to Re: Re: (nrd) removing special characters
by newrisedesigns
in thread removing special characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |