From a612b1468030750fa3ebdf77d1365bc627be0c45 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 4 Aug 2020 22:09:33 +0200 Subject: [PATCH] Do not require first element to be a hex value at any costs. It may also be a : in the valid address ::1 Signed-off-by: DL6ER --- scripts/pi-hole/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/utils.js b/scripts/pi-hole/js/utils.js index 0364ffe0..27b0f6c2 100644 --- a/scripts/pi-hole/js/utils.js +++ b/scripts/pi-hole/js/utils.js @@ -150,7 +150,7 @@ function validateIPv6CIDR(ip) { var ipv6validator = new RegExp( "^(((?:" + ipv6elem + - "))((?::" + + "))*((?::" + ipv6elem + "))*::((?:" + ipv6elem +