I need to map two variables that could contain slashes, to a controller, in my ASP MVC application. Let\'s see this with an example.
You cannot do this mapping correctly, because of nature of this problem. Try to get a pencil and map following URL to repository and path:
http://mysite/rep/Items/Items/Items/Items/Items/Items/Items/Items/Items
There are multiple mappings:
1) Repository = Items Path = Items/Items/Items/Items/Items/Items/Items
2) Repository = Items/Items Path = Items/Items/Items/Items/Items/Items
and so on....
So either you should