-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-135528: Support more second-level domain names in http.cookiejar #135820
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
base: main
Are you sure you want to change the base?
Conversation
"gov", "mil", "int", "aero", "biz", "cat", "coop", | ||
"info", "jobs", "mobi", "museum", "name", "pro", | ||
"travel", "eu") and len(tld) == 2: | ||
known_slds = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also add tests for the newly added sld's?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need IMO, the original test script only test .co.uk for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sry to miss that, it actually test [".co.uk", ".org.za", ".tx.us", ".name.us"]
but it's just four of them, I think it's still no need to add tests.
Sorry to reopen it. I want to support customization in this. But since the FR has not discussed before, its not proper to directly create PR on this. I should treat this seperately. Just forget about the previous FR.
This PR only concerns of adding new common slds in the lib based on wiki figure, as its been a very long time from 2006 when the list is wrote.
So sorry for reopening this.