How to leave URL parameters unescaped in ASP.NET MVC?
问题 I've noticed the returnurl URL parameter on the Stackoverflow login/logout links are not escaped but when I try to add path as a parameter to a route it gets escaped. So /login?returnurl=/questions/ask shows /login?returnurl=%2fquestions%2fask and it's kind of ugly. How do I get it to not escape the returnurl value? Here's what I'm doing in the code: Html.ActionLink("Login", "Login", "Account", new { returnurl=Request.Path }, null) 回答1: How do I get it to not escape the returnurl value How's