You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out the change in 1.1.8 (Ignore case of controller, action, area, and keys of parameters) breaks some functionality on our site after a colleague updated from 1.1.7 to 1.1.8. For example:
C#
routes.MapRoute("Arbitrary Route", "path/{variableThing}/etc/", new { controller = "X", action = "Y" }, new { variableThing = "Z" });
JS
Router.Action('X', 'Y', { variableThing: 'Z' });
Now when the constraints are parsed, the key variable will be "variableThing". The objects however:
Creating an issue from my comment, by request.
I found out the change in 1.1.8 (Ignore case of controller, action, area, and keys of parameters) breaks some functionality on our site after a colleague updated from 1.1.7 to 1.1.8. For example:
C#
JS
Now when the constraints are parsed, the key variable will be "variableThing". The objects however:
Due to the lower case key the route will not match.
The text was updated successfully, but these errors were encountered: