mirror of
https://github.com/pi-hole/web.git
synced 2025-12-23 20:28:28 +00:00
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 <dl6er@dl6er.de>
This commit is contained in:
@@ -150,7 +150,7 @@ function validateIPv6CIDR(ip) {
|
||||
var ipv6validator = new RegExp(
|
||||
"^(((?:" +
|
||||
ipv6elem +
|
||||
"))((?::" +
|
||||
"))*((?::" +
|
||||
ipv6elem +
|
||||
"))*::((?:" +
|
||||
ipv6elem +
|
||||
|
||||
Reference in New Issue
Block a user