开发者

ASP.NET MVC - Illegal characters in path - redirect from Application_Error

In my application I generated few url whi开发者_如何转开发ch contained " (double quotes), unfortunately. I corrected the url's but google bot already indexed wrong urls.

Now I get quite often following exception: System.ArgumentException: Illegal characters in path.

The only one place I can catch the error is the Application_Error in the Global.asax - I clean up the url over there and try to redirect to correct url - unfortunately it is not working... The application is not redirecting and I don't know why... Any suggestions?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜