-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support unicode URLs #15
Conversation
Hi @blakeembrey I appreciate the effort :) I wanted to let you know I'm not ignoring you, it's just been super crazy this week :( |
@dougwilson Once you get around to #13 I'll spend some time thinking about this once 😄 Currently this should not be merged since it won't work (it decodes |
Is this PR still valid and should it be added in |
@wesleytodd It's still valid but I don't think it should be added for V2. One possible approach I added with the latest |
Hm, I have no idea what that linked code is doing (I guess it is some other language I dont know 😛), but I am guessing it is just delegating to the whatwg |
Ok, in my flippant first read I missed that it is just a call to |
I use |
From pillarjs/path-to-regexp#42, I implemented it at the framework level. This is mostly for reference since I'm not sure on some behaviour (you probably want to 400 at decode failure?). Either way, I think this would be a really useful addition - especially for Express 5.0. We just need to update the readme and make it clear which normalized string method is used.