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

Strict=True Returns "amazonaws.com" as an eTLD #22

Open
indianajson opened this issue Sep 5, 2023 · 0 comments
Open

Strict=True Returns "amazonaws.com" as an eTLD #22

indianajson opened this issue Sep 5, 2023 · 0 comments

Comments

@indianajson
Copy link

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.

@indianajson indianajson changed the title Strict Flag Returns "amazonaws.com" domains Strict Flag Falsely Returns "amazonaws.com" as a eTLD Sep 5, 2023
@indianajson indianajson changed the title Strict Flag Falsely Returns "amazonaws.com" as a eTLD Strict Flag Falsely Returns "amazonaws.com" as an eTLD Sep 5, 2023
@indianajson indianajson changed the title Strict Flag Falsely Returns "amazonaws.com" as an eTLD Strict=True Returns "amazonaws.com" as an eTLD Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant