I faced the following problem. May be someone found this strange behavior too.
I have the following route definition in my global.asax.cs:
routes.Add(new Route("/module/{searchTerm}", new RouteValueDictionary { {"controller", "Module"}, {"action", "Index"} }, null, new MvcRouteHandler()));
So, nothing special, from the first point of view, but problem appear when space appear in search term as +
sign.
For instance we try to open a link:
http://[myserver]/module/some%20search%20term
In this case everything is ok and it redirects us to a correct action, but in case if the link looks like:
http://[myserver]/module/some+search+term
I got an error stated that there are no routes that are match the URL provided.
By the way, I can't reproduce this issue on ASP.NET development server. It appear only on IIS. Probably someone did have such problems?