I need to match this route in my ASP MVC application:
http://localhost/<itemName>/details
When the item name has illegal characters, for example the % symbol, the following URL will blow up:
(1) http://localhost/item%25Name/Details
In this case the correct URL would be:
(2) http://localhost/Details/?item=item%25Name
Is it possible to define routes in RegisterRoutes
to match normal routes to (1), and routes with the % symbol in the item name, to (2)?
Thanks in advance