|
|
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>
|
|
|
|
You have an answer to this question? |
| You can answer this question anonymously or ( Login / Create an account ) |
|
|
|
|
|
|
|
|
net, net, validaterequest, request, work, has, page, false, detected, value, doesnt, potentially, even, asp, dangerous, error, ctl00
| Similar questions | Latest questions |
| |
|