ASP.NET 4 URL limitations: why URL cannot contain any & character
Posted
by stacker
on Stack Overflow
See other posts from Stack Overflow
or by stacker
Published on 2010-05-14T00:30:58Z
Indexed on
2010/05/14
0:34 UTC
Read the original article
Hit count: 386
asp.net-4.0
|url
http://site.com/page&character
This URL will return the following error:
A potentially dangerous Request.Path value was detected from the client (&).
I'm already put this in web.config:
<system.web>
<httpRuntime requestValidationMode="2.0" />
<pages validateRequest="false">
...
How can I fix this error?
© Stack Overflow or respective owner