fix #564 by allowing CIDR in mysql host validation. 
fix english and german field description accordingly
This commit is contained in:
Pascal
2019-05-03 22:32:57 +02:00
parent eba163fc4a
commit 12884c91a6
3 changed files with 3 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ class Check
foreach ($mysql_access_host_array as $host_entry) {
if (Validate::validate_ip2($host_entry, true, 'invalidip', true, true) == false && Validate::validateDomain($host_entry) == false && Validate::validateLocalHostname($host_entry) == false && $host_entry != '%') {
if (Validate::validate_ip2($host_entry, true, 'invalidip', true, true, true) == false && Validate::validateDomain($host_entry) == false && Validate::validateLocalHostname($host_entry) == false && $host_entry != '%') {
return array(
self::FORMFIELDS_PLAUSIBILITY_CHECK_ERROR,
'invalidmysqlhost',