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

Algorithm Documentation #2240

Open
simon-friedberger opened this issue Oct 29, 2024 · 2 comments
Open

Algorithm Documentation #2240

simon-friedberger opened this issue Oct 29, 2024 · 2 comments
Labels
Volunteer Opportunity Tasks we're voluntelling you what would help us.

Comments

@simon-friedberger
Copy link
Contributor

The documentation of the algorithm in the wiki needs some love.

The following is wrong when people use the PSL to determine if something is a valid URL/domain:

If no rules match, the prevailing rule is "*".

The general description of matching is also wrong in many cases. All browsers seem to implement the rule that a wildcard
*.foo.com implies that foo.com is a public suffix as well. There is no immediate need to make a case but we should fix the documentation.

@simon-friedberger simon-friedberger added the Volunteer Opportunity Tasks we're voluntelling you what would help us. label Oct 29, 2024
@weppos
Copy link
Member

weppos commented Oct 30, 2024

Why do you think it is wrong?

The following is wrong when people use the PSL to determine if something is a valid URL/domain:

For what is worth, this has never been the goal of the PSL.

@simon-friedberger
Copy link
Contributor Author

My impression was that it is an accepted use case. Otherwise, why do we list TLDs at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Volunteer Opportunity Tasks we're voluntelling you what would help us.
Projects
None yet
Development

No branches or pull requests

2 participants