-
Notifications
You must be signed in to change notification settings - Fork 21
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
lambdaisland.uri/uri-str
does not URL-encode username and password
#53
Comments
Good catch! That should indeed be fixed. A PR would be appreciated! |
Having a better look at this, all fields of the @devurandom are you interested in creating a patch for this?
|
Yes, but I cannot commit to a timeline at the moment.
I am using |
(:path (uri/parse "http://example.com/sch%C3%B6n"))
;; => "/sch%C3%B6n" I would expect the same behavior for username/password, if you need the non-percent encoded version you decode it yourself. Perhaps a debatable design choice, but it's how it works now for all other fields, so for consistency I would keep it that way. |
lambdaisland.uri/uri-str
does not URL-encode username and password:I would expect
lambdaisland.uri/URI
it to be able to round-trip its input data, but it can't:The text was updated successfully, but these errors were encountered: