From 288d487fc013104dadaa28c34e2387b6fdbd59a0 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 26 Apr 2020 09:33:09 +0200 Subject: [PATCH] Allow ( and ) in adlist URLs. Signed-off-by: DL6ER --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 65b34e5c..a28aea25 100755 --- a/gravity.sh +++ b/gravity.sh @@ -376,7 +376,7 @@ gravity_DownloadBlocklists() { echo -e " ${INFO} Target: ${url}" local regex # Check for characters NOT allowed in URLs - regex="[^a-zA-Z0-9:/?&%=~._-]" + regex="[^a-zA-Z0-9:/?&%=~._()-]" if [[ "${url}" =~ ${regex} ]]; then echo -e " ${CROSS} Invalid Target" else