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) {