This topic is locked

Error entering single quote

5/8/2007 12:17:43 AM
ASPRunnerPro General questions
Q
qqqqq author

Hi,

When I try to enter a value with a single quote into a text box it produces an error. How can I enter values into a text box and not have it produce an error. Also, doesn't this behavior make my application vulnerable to a sql injection attack?

Thanks

J
Jane 5/8/2007

I wasn't able to reproduce this error.

Please publish your project on Demo Account and send to [email=support@xlinesoft.com]support@xlinesoft.com[/email] a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.

Q
qqqqq author 5/8/2007

I found the problem. The field with the single quote was being inserted into a table in a before insert event. I applied the RTESafe function to the value, in the event and that fixed it.