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
Hmm, this is interesting. We don't include the basename in our usage of path-to-regexp, so that's why there's a difference. Should be as simple as toLowercase()'ing the pathname when matching.
Version
4.0.0
Test Case
Use BrowserRouter and set the basename property. Routes are not case-sensitive, but the Router is.
Steps to reproduce
Expected Behavior
Should match all of the following:
Actual Behavior
While the route is not case sensitive the router basename is.
The text was updated successfully, but these errors were encountered: