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

URL: percent encode in fragments #4298

Merged
merged 2 commits into from
Dec 9, 2016
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Dec 8, 2016

@wpt-pr-bot
Copy link
Collaborator

@wpt-stability-bot
Copy link

wpt-stability-bot commented Dec 8, 2016

Firefox

Testing revision 22bba88
Starting 10 test iterations
No tests run.

@wpt-stability-bot
Copy link

wpt-stability-bot commented Dec 8, 2016

Chrome

Testing revision 22bba88
Starting 10 test iterations
No tests run.

@domenic
Copy link
Member

domenic commented Dec 9, 2016

Tests LGTM tentatively, but hopefully @Sebmaster or I can implement the change in jsdom/whatwg-url and confirm for sure.

"href": "a:/#\u0001\u001f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\u007f\u0080\u0081Éé",
"hash": "#\u0001\u001f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\u007f\u0080\u0081Éé"
"href": "a:/#%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%7F%C2%80%C2%81%C3%89%C3%A9",
"hash": "#%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%7F%C2%80%C2%81%C3%89%C3%A9"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is %7F%7F really correct here? whatwg-url would only encode one %7F.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, let me fix that.

@Sebmaster
Copy link
Contributor

👍 Passing

@annevk annevk merged commit 8202564 into master Dec 9, 2016
annevk added a commit to whatwg/url that referenced this pull request Dec 9, 2016
Now all components of a URL can be represented using ASCII strings or integers.

Tests: web-platform-tests/wpt#4298.

Fixes #150.
@Manishearth
Copy link
Contributor

Additional test at #4344

@domenic domenic deleted the annevk/url-fragment-percent-encode branch December 15, 2016 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants