I am building a url and using it to point to one of my controllers to do some work. I got this error when I passed the url having %3F isntead of ?
A potentially dangerous Request.Path value was detected from the client (?).
The Url generated by UriBuilder looks like this:
When I change %3F to ? after 'DoChanges' it works fine but it does not like it when its %3F. How can I decode this? I need the parameters visible so that service desk can read the link if they need to. so I do not want to encode the entire thing.
I can't post this in a comment, so I'll write it here. The solution of your answer can be found here .
As quoted from here, you just have to use these your settings in your config file