mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +00:00
Do not remove -all|exact when not surrounded by space in query.sh (#5300)
This commit is contained in:
commit
7e95371fe8
@ -50,7 +50,7 @@ fi
|
|||||||
|
|
||||||
# Strip valid options, leaving only the domain and invalid options
|
# Strip valid options, leaving only the domain and invalid options
|
||||||
# This allows users to place the options before or after the domain
|
# This allows users to place the options before or after the domain
|
||||||
options=$(sed -E 's/ ?-(all|exact) ?//g' <<< "${options}")
|
options=$(sed -E 's/ +-(all|exact) ?//g' <<< "${options}")
|
||||||
|
|
||||||
# Handle remaining options
|
# Handle remaining options
|
||||||
# If $options contain non ASCII characters, convert to punycode
|
# If $options contain non ASCII characters, convert to punycode
|
||||||
|
Loading…
Reference in New Issue
Block a user