mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 18:29:43 +01:00
Allow for ; in adlist urls
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -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('<strong>Invalid adlist URL ' . htmlentities($address) . '</strong><br>'.
|
||||
'Added ' . $added . " out of ". $total . " adlists");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user