Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# scottell 2/2/2006 1:47 PM
I was messing around with adding a menu to a root node, and when I tried to move an "Available" node into the "Selected" list using the ">" button, I got the following error:

Server error in '/' application
A potentially dangerous Request.Form value was detected from the client (p:btnAdd=">").
Description: Request validation detected a potentially dangerous input value from the client and aborted the request. This might be an attemp of using cross-site scripting to compromise the security of your site. You can disable request validation using the 'validateRequest=false' attribute in your page or setting it in your machine.config or web.config configuration files. If you disable it, you're encouraged to properly check the input values you get from the client.
You can get more information on input validation here.

Error Message: HTTP 500. A potentially dangerous Request.Form value was detected from the client (p:btnAdd=">").

Any ideas? (this is on SVN mono and linux)

Scott
# martijnb 2/2/2006 3:17 PM
Hmmm, I think in this case it's wise to change the '>' to something that looks safe for the ASP.NET runtime. It isn't an issue on Windows btw. Apparently Mono handles all form input the same way wheter it comes from a textbox or a button.
# scottell 2/2/2006 4:09 PM
cool. thanks