mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
Also check if the domain has non-ascii-characters
This commit is contained in:
parent
baed349274
commit
0d88619edb
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,9 @@ if ($action == "list" or $action== "listslaves") {
|
|||
if (_valid_label($_POST['name']) === FALSE) {
|
||||
_jtable_respond(null, 'error', "Please only use [a-z0-9_/.-]");
|
||||
}
|
||||
if (is_ascii($_POST['name']) === FALSE) {
|
||||
_jtable_respond(null, 'error', "Please only use ASCII-characters in your domainname");
|
||||
}
|
||||
if ($_POST['kind'] != null and $_POST['name'] != null) {
|
||||
$nameservers = array();
|
||||
if ($_POST['kind'] != "Slave") {
|
||||
|
|
Loading…
Add table
Reference in a new issue