From 509a082d02cb7affcb62ddf4b8120480aa9ce469 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 13 Jan 2021 20:40:04 +0000 Subject: [PATCH] Update scripts/pi-hole/php/groups.php --- scripts/pi-hole/php/groups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/groups.php b/scripts/pi-hole/php/groups.php index 72bd95ff..9ea8fcb4 100644 --- a/scripts/pi-hole/php/groups.php +++ b/scripts/pi-hole/php/groups.php @@ -921,7 +921,7 @@ if ($_POST['action'] == 'get_groups') { } // this will remove first @ that is after schema and before domain -  // $1 is optional schema, $2 is userinfo + // $1 is optional schema, $2 is userinfo $check_address = preg_replace("|([^:/]*://)?([^/]+)@|", "$1$2", $address, 1); if(preg_match("/[^a-zA-Z0-9:\/?&%=~._()-;]/", $check_address) !== 0) {