You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The publicSuffix method returns the expected result: github.io cannot be a domain on its own so cookies can only be created in subdomains under that same domain.
But what getDomain should really do, is to care differently about the rules and only acknowledge the known list of gTLDs (like .io, nhs.ukwhatever.co.uk etc.).
I guess we can continue the conversation over there 🙂
Hello,
I noticed weird behaviour handling urls from the domain
github.io
using thegetDomain
method.and i get back
null
ongithub.io
You can check it live in here
UPDATE
The behaviour extends as well to other functions like
getPublicSuffix
:Looking forward for your input.
The text was updated successfully, but these errors were encountered: