I'm using .net 4.7. Showing errow when passing special characters in the url and getting following error:
A potentially dangerous Request.Path value was detected from the client (&).","Data":null,"InnerException":null
Is there anyway to resolve it?
Add following in the System.Web in the web.config:
<system.web> <httpRuntime requestPathInvalidCharacters="" /> -----</system.web>
It will allow all characters in the request path.
Thanks. Worked as charm!
I saved my time and my issue was resolved too.