Re: Removing malicious code

2006-09-08 Thread Jay Savage
On 9/8/06, Owen <[EMAIL PROTECTED]> wrote: I have a cgi script that processes a form in which the following line of code is found $name =~ s/[`\\"_|!\$\.\^]//g; #remove likely malicious bad characters Just wondering if there is a better way to do this as I suspect I am a little naive. Need

Re: Removing malicious code

2006-09-07 Thread John W. Krahn
Owen wrote: > I have a cgi script that processes a form in which the following line of code > is found > > $name =~ s/[`\\"_|!\$\.\^]//g; #remove likely malicious bad characters > > Just wondering if there is a better way to do this as I suspect I am a little > naive. > > Need to pass only the