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
{{ message }}
Repository navigation
Commit ec088c7
Browse filesBrowse the repository at this point in the historyBrowse files
Look up the IDNA-encoded TLD when consider_tld is set
The IANA list stores internationalized TLDs in punycode (XN--P1AI),
but domain() checked the raw Unicode TLD against it. Unicode domains
such as пример.рф were rejected with consider_tld=True while their
punycode form was accepted. hostname() and url() inherit this through
domain().
Run the TLD check after IDNA encoding, on the encoded TLD.
0 commit comments