Can't add IDN domain - got validation error #410

Closed
opened 2026-04-05 20:27:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @starnetwork on 4/26/2023

CloudPanel version(s) affected

2.2.2

Description

Go to Site -> Add site -> Create WordPress Site
adding the domain name: xn--7dbemaxi.xn--4dbrk0ce
or www.xn--7dbemaxi.xn--4dbrk0ce
and get the error: Domain Name: This value is not valid.

How to reproduce

Go to Site -> Add site -> Create WordPress Site
adding the domain name: xn--7dbemaxi.xn--4dbrk0ce
or www.xn--7dbemaxi.xn--4dbrk0ce
click on Create and you will see the error

Possible Solution

validate IDN domains, do idn_to_ascii or js validate the IDN domains

Additional Context

screenshot: https://www.linkpicture.com/q/Capture-2023-04-26-2.jpg

*Originally created by @starnetwork on 4/26/2023* ### CloudPanel version(s) affected 2.2.2 ### Description Go to Site -> Add site -> Create WordPress Site adding the domain name: xn--7dbemaxi.xn--4dbrk0ce or www.xn--7dbemaxi.xn--4dbrk0ce and get the error: Domain Name: This value is not valid. ### How to reproduce Go to Site -> Add site -> Create WordPress Site adding the domain name: xn--7dbemaxi.xn--4dbrk0ce or www.xn--7dbemaxi.xn--4dbrk0ce click on Create and you will see the error ### Possible Solution validate IDN domains, do idn_to_ascii or js validate the IDN domains ### Additional Context screenshot: https://www.linkpicture.com/q/Capture-2023-04-26-2.jpg
Sign in to join this conversation.