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

Ensure generated paths in split() matches JS #11

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Ensure generated paths in split() matches JS #11

merged 2 commits into from
Aug 9, 2023

Conversation

rtsao
Copy link
Collaborator

@rtsao rtsao commented Aug 9, 2023

The existing implementation percent encodes different characters than encodeURIComponent from JS, which can lead to incompatibility with code generated from JS.

Updates the set of encoded character to match WHATWG spec: https://url.spec.whatwg.org/#component-percent-encode-set

@rtsao rtsao force-pushed the split branch 2 times, most recently from aaa8899 to f461e56 Compare August 9, 2023 21:28
@rtsao rtsao merged commit 82f13ab into main Aug 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant