I'm trying to route a path like this:
http://www.wikipediamaze.com/wiki/Washington,_D.C.
The routing framework is not picking this up as a valid route and giving me a "Cannot find resource" error. Anyone know how I can get around this? It's not even getting to my controller factory so it's as if it doesn't even recognize it as a route or perhaps looking for an actual file.
I don't have any problems with similar routes like this:
http://www.wikipediamaze.com/wiki/United_States
http://www.wikipediamaze.com/wiki/Canadian_Bacon_(film)
but anytime I end a url with a '.' it doesn't route it. If I do this it works:
http://www.wikipediamaze.com/wiki/?topic=Washington,_D.C.
The route that I have setup looks like this:
routes.MapRoute(
"wiki",
"wiki/{topic}",
new { controller = "game", action = "continue", topic = "" }
);