Click here to Skip to main content
15,885,155 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need a specific requirement to replace symbols in a URL at IIS 7 / Virtual directory

ASMX call : http://XXXXXXXXXX%3Fquerystring%3D43 (example)

The url gives an error 'potentially dangerous request was detected from the client' and unable to change the source of this url

so, whenever this asmx call reaches to IIS, need to replace symbol below like this and redirect it.

%3F into ?
%3D into =

Please guide me how to do that.
Posted
Updated 30-Aug-15 16:07pm
v2
Comments
Afzaal Ahmad Zeeshan 30-Aug-15 2:16am    
Then use QueryString, rather then dynamically generating them as string and passing them. These are converted because these characters are converted to their encodings, as they have a special purpose in URLs.
senthilmonster 30-Aug-15 22:09pm    
I need what to do at IIS only.Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900