mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-25 09:44:03 +00:00
Updated gravity.sh to allow semicolons
Signed-off-by: Peter Lowe <pgl@yoyo.org>
This commit is contained in:
parent
b60ec8a48f
commit
dd205c55c1
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ gravity_DownloadBlocklists() {
|
||||||
echo -e " ${INFO} Target: ${url}"
|
echo -e " ${INFO} Target: ${url}"
|
||||||
local regex
|
local regex
|
||||||
# Check for characters NOT allowed in URLs
|
# Check for characters NOT allowed in URLs
|
||||||
regex="[^a-zA-Z0-9:/?&%=~._()-]"
|
regex="[^a-zA-Z0-9:/?&%=~._()-;]"
|
||||||
if [[ "${url}" =~ ${regex} ]]; then
|
if [[ "${url}" =~ ${regex} ]]; then
|
||||||
echo -e " ${CROSS} Invalid Target"
|
echo -e " ${CROSS} Invalid Target"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue