mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Fix query option handling
Signed off by WaLLy3K <wally3k@pi-hole.net>
This commit is contained in:
parent
3e727c5e5d
commit
3b300a4d6a
1 changed files with 1 additions and 1 deletions
2
pihole
2
pihole
|
@ -154,7 +154,7 @@ Options:
|
|||
|
||||
# Strip valid options, leaving only the domain and invalid options
|
||||
# This allows users to place the options before or after the domain
|
||||
options=$(sed -E 's/ ?-(bp|adlists?|all|exact)//g' <<< "${options}")
|
||||
options=$(sed -E 's/ ?-(bp|adlists?|all|exact) ?//g' <<< "${options}")
|
||||
|
||||
# Handle remaining options
|
||||
# If $options contain non ASCII characters, convert to punycode
|
||||
|
|
Loading…
Reference in a new issue