-
Notifications
You must be signed in to change notification settings - Fork 55
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
getSubdomain/getDomain do not perform as expected for .er top level domains #78
Comments
@nmargaritis from the publicsuffixlist, I see that The confusion lies in #25 where the rules are defined for cookie parsing – so technically speaking It is very likely to be addressed by adding/renaming methods to make them explicit in term of what they are trying to do. Let me know if that addresses your concern. |
@nmargaritis @oncletom Should we close this issue, as this is expected behavior? |
@nmargaritis From what I understood, the rule from public suffix is |
@remusao Yes that is correct for google.er and .er public suffix but isValid is described as "Is the hostname valid according to the RFC". So it should fail for shop.google.er since it is not valid based on the spec. |
Testing the following host "shop.google.er" will return an empty subdomain. For example,
Although the expected outcome would be to have a subdomain of shop and a domain of google.er.
The text was updated successfully, but these errors were encountered: