mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Can't add IDN domain - got validation error #410
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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