mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Merge pull request #3446 from pgl/development
Updated gravity.sh to allow semicolons in URLs
This commit is contained in:
commit
01ab82b869
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue