Error when '>' is input to the textbox control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The following error is encountered when attempt to input the character > into
a textbox control :
A potentially dangerous Request.Form value was detected from the client

Is there a way to resolve it?

Thanks,
Ben
 
Ben said:
The following error is encountered when attempt to input the character > into
a textbox control :
A potentially dangerous Request.Form value was detected from the client

Is there a way to resolve it?

Thanks,
Ben

In 1.1, there's an option called "ValidateRequest" within then @Page
directive. So if you're developing under 1.1, you can try adding that.
N.B., you can also turn this off machine wide, but I really wouldn't
recommend it. Only do it where you need to accept such characters (and
have a good regex to recognise good input and reject everything else,
etc).

Damien
 
Back
Top