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
There's an issue with how Joi.string().hostname() validates domain names with non-ASCII characters.
E.g. domain name: cptømrerfirma.dk fails validation, although it's a valid and existing domain.
Thanks,
Viktorija
The text was updated successfully, but these errors were encountered:
I wonder if this was really correct? Normally internationalized domains are punycode encoded.
So cptømrerfirma.dk is encoded as xn--cptmrerfirma-xjb.dk
So with that in mind should the validation of hostnames be accepting non-ASCII?
Hi,
There's an issue with how
Joi.string().hostname()
validates domain names with non-ASCII characters.E.g. domain name:
cptømrerfirma.dk
fails validation, although it's a valid and existing domain.Thanks,
Viktorija
The text was updated successfully, but these errors were encountered: