Skip to content
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

Chrome encodes ' in URL #15

Open
wmertens opened this issue Mar 28, 2017 · 6 comments
Open

Chrome encodes ' in URL #15

wmertens opened this issue Mar 28, 2017 · 6 comments

Comments

@wmertens
Copy link

Sometime recently, Chrome started encoding ' as %27 as soon as you send it :(

@bjouhier
Copy link
Member

This is a know (and unfortunate) issue. See #11.

At the time it looked like ' would not need encoding but then browsers started to encode it to solve a security issue. If I had know that earlier, I would have chosen " rather then' 😞.

@wmertens
Copy link
Author

Ok - I'm feeling a strong case for jsurl2 :)

@dkozar
Copy link

dkozar commented Apr 29, 2021

Ok - I'm feeling a strong case for jsurl2 :)

Or jsonurl-js: https://github.com/jsonurl/jsonurl-js 😄

But the apostrophe problem is the same: jsonurl/jsonurl-js#96

@tannerlinsley
Copy link

I decided to fork and use . or - instead of '. Anyone see any issues with this?

@tannerlinsley
Copy link

I was referencing what I found here: https://perishablepress.com/stop-using-unsafe-characters-in-urls/

@wmertens
Copy link
Author

@tannerlinsley did you see my jsurl2 npm package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants