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

Align encoding with WHATWG URL spec #8

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

blakeembrey
Copy link
Member

Skips over some additional characters when encoding to align with the WHATWG URL specification. Specially, we no longer encode \, ^, and |. Additionally, $ and # already have no behavior in encodeURI so I've expanded the inverted match to skip over them, which makes it a bit easier for me to think about as everything matched by ENCODE_CHARS_REGEXP should be encoded.

@blakeembrey blakeembrey merged commit be0f77b into master Mar 28, 2024
@blakeembrey blakeembrey deleted the be/align-encode-whatwg-url branch March 28, 2024 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant