diff --git a/scripts/pi-hole/php/groups.php b/scripts/pi-hole/php/groups.php
index a16c8d6a..ca9e62c8 100644
--- a/scripts/pi-hole/php/groups.php
+++ b/scripts/pi-hole/php/groups.php
@@ -674,7 +674,7 @@ if ($_POST['action'] == 'get_groups') {
}
foreach ($addresses as $address) {
- if(preg_match("/[^a-zA-Z0-9:\/?&%=~._()-]/", $address) !== 0) {
+ if(preg_match("/[^a-zA-Z0-9:\/?&%=~._()-;]/", $address) !== 0) {
throw new Exception('Invalid adlist URL ' . htmlentities($address) . '
'.
'Added ' . $added . " out of ". $total . " adlists");
}