Commit 6fc8f14f authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3785 TXT records are now authorized in global records

parent 8d83d750
......@@ -382,7 +382,7 @@ class servdnseditZone extends plugin
foreach ($this->Records as $name => $values) {
/* only lower-case is allowed in record entries ... */
if ($values['value'] != strtolower($values['value'])) {
if (($values['type'] != 'tXTRecord') && ($values['value'] != strtolower($values['value']))) {
$message[] = msgPool::invalid($values['type'], "", "", _("Only lowercase allowed"));
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment