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
Since URLs are case-insensitive by nature, I think it would make sense to have an option to lowercase all paths. I'm aware that this could be done by overriding the normalizePath function, but it's very conveninent to not override it and just pass an array of regexes. I also feel like this would be a very common use-case.
E.g. setting lowercasePaths to true should lowercase all paths before they're passed to the normalizePath function.
The text was updated successfully, but these errors were encountered:
The domain names are case insensitive, but the rest (path and query) are very much case sensitive. And normalizePath is about path, NOT domain name. Could you share any source why you think the paths are case-insensitive?
Since URLs are case-insensitive by nature, I think it would make sense to have an option to lowercase all paths. I'm aware that this could be done by overriding the
normalizePath
function, but it's very conveninent to not override it and just pass an array of regexes. I also feel like this would be a very common use-case.E.g. setting
lowercasePaths
totrue
should lowercase all paths before they're passed to thenormalizePath
function.The text was updated successfully, but these errors were encountered: