Mislabeling of eTLD-`n`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
Read the linked publicsuffix.org wildcard discussion and issue #21, then reproduce the publicsuffix2 behavior using the example PSL entries. Locate the wildcard and eTLD matching entry point and existing tests; done means the reported eTLD-n mislabeling is corrected and covered by a regression test.
Written by the indexing model from the issue text.
Description
As mentioned in https://github.com/publicsuffix/list/pull/1872#issuecomment-1863614188
Multiple psl libraries share the same bug while handling wildcards.
I went over all the FOSS implementations in https://publicsuffix.org/learn/ , and I found 3 of them behave funny for
wildcarddomains. In particular:Seems to all mislabel eTLD-
nx[eTLD minusn] (with n from0toinfinite), as an eTLD, if another eTLDyis defined as a subdomain of thatxeTLD-n.As an example
publicsuffix2behaviour with the following patch:// Linode : https://linode.com // Submitted by <[email protected]> members.linode.com -nodebalancer.linode.com +*.nodebalancer.linode.com +*.linodeobjects.com +ip.linodeusercontent.com
Example here:
This bug has already been reported in this library here
- Dominant language
- Python
- Stars
- 31
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aboutcode-org/python-publicsuffix2
-
codes.open is deprecated in python3.14May be free again A pull request for this issue was closed without being merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 52/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
aboutcode-org/python-publicsuffix2#21 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
aboutcode-org/python-publicsuffix2#18 · 6 comments ·
All issues in aboutcode-org/python-publicsuffix2
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mohanraj00/entelos#200 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
sweep
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
bketelsen/truenas-mcp#77 ·
Maintainers usually reply within 1 day
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOpen
Difficulty 1/5 Under an hour Newbie friendliness 86/100
sandbox-quantum/switch#2163 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
openedx/xblock-lti-consumer#765 ·
Maintainers usually reply within 1 day