Skip to content

Instantly share code, notes, and snippets.

@sandrinodimattia
Created July 19, 2012 22:33
Show Gist options
  • Save sandrinodimattia/3147332 to your computer and use it in GitHub Desktop.
Save sandrinodimattia/3147332 to your computer and use it in GitHub Desktop.
Disable Request Validation
<system.web>
<pages validateRequest="false" >
...
</pages>
<!-- For .NET 4.0 -->
<httpRuntime requestValidationMode="2.0" />
</system.web>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment