|
|
ValidateRequest=“false” doesn’t work in Asp.Net 4
why ValidateRequest=“false” doesn’t work in Asp.Net 4 ?
i still get this error "A potentially dangerous Request.Form value was detected from the client (ctl00$cp1$dd2$tb1=" even if the page has the ValidateRequest=“false” header,
is this a bug in Asp.Net C# 4 ?
|
| Answers |
 |
to fix this i just added requestValidationMode="2.0" to web.config file under the system.web section like this :
<system.web> ... <httpRuntime requestValidationMode="2.0" /> ... </system.web>
|
|
|
|
| Similar questions | Latest questions |
| |
|
|