Strict=True Returns "amazonaws.com" as an eTLD
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
Start by running the reproduction script from the issue and confirming what PublicSuffixList.get_public_suffix returns with strict=True. Read the implementation of PublicSuffixList and its strict matching behavior, then add or update a test for snack.amazonaws.com. Done means the strict=True result is amazonaws.com without breaking existing public suffix behavior.
Written by the indexing model from the issue text.
Description
The following code:
from publicsuffix2 import PublicSuffixList
psl = PublicSuffixList(idna=True)
print(psl.get_public_suffix('snack.amazonaws.com',strict=True))
returns snack.amazonaws.com when it should return amazonaws.com.
- 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 4/5 3-5 days Newbie friendliness 30/100
aboutcode-org/python-publicsuffix2#23 · 1 comment · 1 reaction ·
-
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