IDN broken in UI

UI not alow add domain begin xn-- with error "host name with domain"
Manualy add to config file is working.

1 Like

I guess the problem arises with the double minus sign ā€œā€“ā€. That sequence does not match the validation regexp.

Anyway that sequence seems allowed by Wikipedia, at least

https://en.m.wikipedia.org/wiki/Hostname

Could you suggest any other reference to fix the bug?

IDN is standardized https://tools.ietf.org/html/rfc3490 with ACE prefix (xnā€“).
And from year 2009 allowed and now widely used for example in EU TLD http://www.mpo.cz/dokument66986.html

Without repaired bug "add IDN domain record"
in to user interface is not usable in Europe. I mean the unusable for general users. IT technician can use a configuration files, but then litle becomes meaningless use NethServer.

1 Like

Thank you for pointing it out and for the provided information! We can now record the bug on

Edit
http://dev.nethserver.org/issues/3318
https://github.com/NethServer/dev/issues/5093

2 Likes