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
privatesuffix() returns None if input has no private part. test.amazonaws.com.cn does not match *.elb.amazonaws.com.cn so com.cn should be public part.
Please try publicsuffix() instead privatesuffix() to see where the PSL matches input.
You are correct there is not inconsistency. I messed up my test by accidentally removing the elb from that test domain passed in. So YAY, and egg on my face then.
if there is a rule like:
*.abc.com
I would expect that if you give it
substuf.def.abc.com that the public suffix should be def.abc.com.
Output from the run:
I would have expected the first set to return the domains unchanged and the second set to return the part minus the sub. part.
in either case the behavior is inconsistent for 2 reasons:
The text was updated successfully, but these errors were encountered: