Allow ( and ) in adlist URLs.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2020-04-26 09:31:45 +02:00
parent fec4550ab4
commit 84046528bf

View File

@@ -649,7 +649,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');
}