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

Use more precise warning when public suffix is used as a destination #1477

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

apasel422
Copy link
Collaborator

For example, previously https://com would be reported as the warning "URL components other than site (https://null) will be ignored".

@apasel422 apasel422 marked this pull request as ready for review December 10, 2024 13:49
Copy link
Collaborator

@linnan-github linnan-github left a comment

Choose a reason for hiding this comment

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

Actually if https://com is allowed by Chromium, should the header validator align?

@linnan-github linnan-github self-requested a review December 10, 2024 15:30
@apasel422 apasel422 changed the title Report invalid public suffix inputs as error instead of warning Use more precise warning when public suffix is used as a destination Dec 10, 2024
@apasel422
Copy link
Collaborator Author

Actually if https://com is allowed by Chromium, should the header validator align?

Updated to instead provide a better warning, rather than an error.

@apasel422 apasel422 merged commit 0d2c299 into WICG:main Dec 11, 2024
2 checks passed
@apasel422 apasel422 deleted the site branch December 11, 2024 14:31
aarongable pushed a commit to chromium/chromium that referenced this pull request Dec 11, 2024
The subtle behavior here was uncovered while working on
WICG/attribution-reporting-api#1477, and we
should ensure that it is interoperable across implementations.

Change-Id: I5208280498350744e6bc84064edd1d7c978d3fa7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6088277
Reviewed-by: Nan Lin <[email protected]>
Commit-Queue: Andrew Paseltiner <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1394874}
giladbarkan-github pushed a commit to giladbarkan-github/attribution-reporting-api that referenced this pull request Dec 30, 2024
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.

2 participants