Can't add unicode domain #1870
-
Impacted versions
Steps to reproduceAdd new domain with unicode character: havmændene.dk Current behaviorHTTP 500 error in apache log: UWSGI debug Expected behaviorShould add domain Video/Screenshot link (optional) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
the domain must be added as punycode: xn--havmndene-j3a.dk however, modoboa should convert automatically. python3 code for that is:
|
Beta Was this translation helpful? Give feedback.
-
This issue looks fixed now, I guess it was a python2 problem with encoding. Anyway, using UTF8 characters in usernames or domains is a pretty complex subject. There is an opened issue regarding usernames (#1419). |
Beta Was this translation helpful? Give feedback.
the domain must be added as punycode: xn--havmndene-j3a.dk
however, modoboa should convert automatically. python3 code for that is: