I'm update some old perl web code that was not checking input parameters from the web page for invalid characters and/or scripting code. I'm already using the HTML::StripScripts::Parser to strip out most of the invalid input, but one of the hacker input strings starts with >'> and any use of the string in a comparison or other string function does not behave properly, like comparing the initial string to the stripped string. The length function seems to be the only one that works.
Any ideas on how to handle the original string?
In reply to HTML input string that starts with >'> by wcnardone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |