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: encode ^ in non-opaque paths #51093

Merged
merged 1 commit into from
Mar 5, 2025
Merged

URL: encode ^ in non-opaque paths #51093

merged 1 commit into from
Mar 5, 2025

Conversation

annevk
Copy link
Member

@annevk annevk commented Mar 4, 2025

@wpt-pr-bot wpt-pr-bot added the url label Mar 4, 2025
annevk added a commit to annevk/WebKit that referenced this pull request Mar 4, 2025
https://bugs.webkit.org/show_bug.cgi?id=289083

Reviewed by NOBODY (OOPS!).

This matches whatwg/url#846, Chromium for all
URL types, and Gecko for special URLs.

Test changes are upstreamed here:
web-platform-tests/wpt#51093

* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-xhtml-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/setters_tests.json:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/urltestdata.json:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any.worker_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any.worker-expected.txt:
* Source/WTF/wtf/URLParser.cpp:
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

I haven't updated whatwg-url for the latest IDNA changes so I'm having to eyeball the number of failures before/after, but I think this is correct.

annevk added a commit to whatwg/url that referenced this pull request Mar 5, 2025
@annevk annevk merged commit d2c3936 into master Mar 5, 2025
18 checks passed
@annevk annevk deleted the annevk/url-encode-005E branch March 5, 2025 07:53
webkit-commit-queue pushed a commit to annevk/WebKit that referenced this pull request Mar 5, 2025
https://bugs.webkit.org/show_bug.cgi?id=289083

Reviewed by Ryosuke Niwa.

This matches whatwg/url#846, Chromium for all
URL types, and Gecko for special URLs.

Test changes are upstreamed here:
web-platform-tests/wpt#51093

* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-xhtml-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/setters_tests.json:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/urltestdata.json:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any.worker_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any.worker-expected.txt:
* Source/WTF/wtf/URLParser.cpp:

Canonical link: https://commits.webkit.org/291614@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants