|Just another Perl shrine|
Correct Regex for reading stock symbol?by Anonymous Monk
|on Jan 31, 2006 at 17:28 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to have my script taint a incoming stock symbol that is entered through a html form. Most stock symbols work and the page ends up loading fine when parsing the form data inputted.
However this one symbol seems to stop my script from loading up normal. It just stalls and stalls until it finally gives me a timeout error. Also, when using this symbol, it seems that my CPU usage goes up to 100%! ITs as if its causes a buffer overflow in the script.
The stock symbol I'm talking about is AIDO.OB
For all other stock symbols , my script look fine, but when I type in "AIDO.OB", it gives me this constant problem.
Heres the Regex I'm using to taint:
Any ideas why this is doing it? I'm using ActiveState Perl btw on a WinXP server with IIS 5.0.