A potentially dangerous Request.Form value was detected from the client

btisdabomb

Member
Joined
Jul 12, 2006
Messages
16
Programming Experience
Beginner
Whenever the character < is entered into any field I get an error saying... A potentially dangerous Request.Form value was detected from the client. I realize that the .NET framework is throwing the error because it can be interpreted as html code that could potentially be harmful. With one of the fields in particular, values get copied and paste into it sometimes with characters that set off this error. Setting validateRequest="false" will fix this problem but it goes against our company standards so I would prefer this to be left on. Are there any other ways to get around this error?
 
Back
Top