+ [#30966] Add handling for punycode urls and emails and fix a number
of places where urls and emails are used. Thanks Elin Waring
(Fix #1163)