Fix query option handling

Signed off by WaLLy3K <wally3k@pi-hole.net>
pull/1734/head
WaLLy3K 7 years ago committed by GitHub
parent 3e727c5e5d
commit 3b300a4d6a

@ -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…
Cancel
Save