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
When deserializing a URL provided at instantiation time, or on any assignment of a hostname, punycode encoding should be detected and decoded. When serializing (str(), &c.) the punycode should encoded version of any non-ASCII-safe hostname should be used.
Comprehensive tests added, with a test using Cyrillic encoding borrowed from the url-normalize package also added. There is a point of debate over if the summary compound attribute (typically used for short-form presentation as the text of an anchor) should use the encoded, or Unicode forms.
I'd vote in favor of using the readable form for this, but the encoded form for other compound forms, due to the intended purpose/use of this particular attribute for presentation to end-users.
When deserializing a URL provided at instantiation time, or on any assignment of a hostname, punycode encoding should be detected and decoded. When serializing (
str()
, &c.) the punycode should encoded version of any non-ASCII-safe hostname should be used.Reference in Marrow Mailer:
The text was updated successfully, but these errors were encountered: