Get a complete url like http://google.com as action input
I want to get url in my action to return the page's PageRank. I have a route like this: routes.MapRoute( name: "PRURL", url: "Utility/PR/{*url}", defaults: new { controller = "Utility", action = "PR", url = UrlParameter.Optional } ); but whenever I go to http://localhost:1619/Utility/PR/http://google.com I just get a System.Web.HttpException that tell me A potentially dangerous Request.Path value was detected from the client (:). I want to resolve this problem but I don't know how! can anybody help me? Update I tried [ValidateInput(false)] but it doesn't resolved the problem! the action is