-
Notifications
You must be signed in to change notification settings - Fork 15
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
pages.example.com suffix declaration causes get_tld('example.com') == 'example.com' #18
Comments
I tried to understand the |
@jmehnle Thanks for the report ! @hiratara @KnitCode what's your take on this case?
|
Just to be clear, this problem is more general than just the |
I think it's my fault. I made the same mistake with the rust library.
I believe this behavior is correct. psl produces the same result.
|
We also have to consider with platform.sh problem . This ticket insists that the publicsuffix of Here is the result of
I think it's a good idea to make the same result as the psl. |
I`m trying to fix the issue with #19 . |
publicsuffix2
mishandles the case where, given the declaration of some public suffix, all suffixes of that suffix are seen as their own TLDs. E.g., given the declaration ofgit-pages.rit.edu
as a public suffix,get_tld('rit.edu')
returns'rit.edu'
, whereas it really should return'edu'
:The text was updated successfully, but these errors were encountered: