wkd: It's not clear if punycoded domain should be part of the path segment in the URL
The following discussion from !1095 (merged) should be addressed:
-
@nwalfield started a discussion: (+4 comments) Can you please check how EmailAddress works and what the shape of domain is.
UserID::email_normalized
does puny code, case, etc. normalization. It is probably good to make sure that is done toaddr
anddomain
(perhaps do something like:UserID::from(format!("x@{}", domain).email_normalized()
and then extract the domain).