1. Home
  2. Cloud & Dedicated Servers
  3. Scripts and Programming
  4. ASP.NET
  5. Why is it telling me a potentially dangerous Request.Form value was detected?

Why is it telling me a potentially dangerous Request.Form value was detected?

ASP.NET versions 1.1 (and higher) contain the feature request validation, which prevents the server from accepting content containing un-encoded HTML. This feature is designed to help prevent some script-injection attacks whereby client script code or HTML can be unknowingly submitted to a server, stored, and then presented to other users. We still strongly recommend that you validate all input data and HTML encode it when appropriate.

The error you received is because your forms are not validating input and thus ASP.net is throwing this error.

 

Details on how to workaround this error are available at:

http://www.asp.net/faq/RequestValidation.aspx

Content retrieved from: https://support.appliedi.net/kb/a375/why-is-it-telling-me-a-potentially-dangerous-request_form-value-was-detected.aspx.

Updated on November 11, 2019

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT