Add correct builds

This commit is contained in:
Luuk Verhoeven
2019-05-22 12:20:34 +02:00
parent 8eb790f800
commit 86dbd31b2e
2 changed files with 2 additions and 0 deletions

View File

@@ -126,6 +126,7 @@ M.availability_ipaddress.validateIpaddress = function(ipaddresses) {
for (var i in ipaddresses) {
// Test normal ip format.
// Strict ipv4 check.
if (new RegExp(/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/gm)
.test(ipaddresses[i])) {
Y.log('Correct ipv4');

View File

@@ -122,6 +122,7 @@ M.availability_ipaddress.validateIpaddress = function(ipaddresses) {
for (var i in ipaddresses) {
// Test normal ip format.
// Strict ipv4 check.
if (new RegExp(/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/gm)
.test(ipaddresses[i])) {
continue;