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}\",
You can disable automatic request verification.
In web.config:
Or for action:
[ValidateInput(false)] public ActionResult PR(...
And I forget about web.config. You need to add to web.config:
Or you can encode/decode url