Last post Apr 07, 2007 08:21 AM by Waheedi
Apr 06, 2007 11:27 PM|Waheedi|LINK
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site
scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$Comp1$TextBox1="...
From can i do this validateRequest=false ?
i have a master.page and 2 contents place holders
Apr 07, 2007 12:07 AM|mhestness|LINK
You put the attribute in the page declaration at the top of your html page. It's the tag that looks like this:
hope that helps,
Apr 07, 2007 12:07 AM|Haissam|LINK
You can add ValidateRequest to the page directive. example below
Apr 07, 2007 01:34 AM|Liming|LINK
just want to throw it out here, make sure you server.htmlEncode whatever you are submitting, you are getting this because you submitted some data that might be vunlerable to attacks.
Apr 07, 2007 08:21 AM|Waheedi|LINK
there is no such thing man didnt work ValidateRequest="false"