User-975492262 posted
Any solution for this issue? I am facing same problem.
I got an MVC applciation where in user enters a URL say, example.com/client.site/__.ashx
But if he enters illegal characters like example.com/cleint.site/_||_.aspx
it throws illegal characters in the path. I added global.asax and handled it in application_error and redirecting it to cusotm error page.
If i enter some thing like this: example.com/client.s||ite/__.ashx, then again the same error is displaying. I want to handle it by redirecting it to custom error page. Any solution please guide me.