I've just upgraded my old wildcard mapping based URL system to use System.Web.Routing
. Before, I was able to request the URL /Service/GetItems<My.Full.Item.Type>
, which was parsed on the other side and returned exactly what you'd expect. That was neat.
Now with Routing on, any request with a < or > in it returns me the contents of '/'
instead of the page I wanted. Even if I encode these to %3C and %3E I get redirected to the root, regardless of what the rest of the URL says.
I'd like it if I didn't have to go through my application changing all instances of intuitive generic references to the makeshift solution I've come up with: /Service/GetItems/T=My.Full.Item.Type
. Not as nice, either.
Thanks all!