Do not remove -all|exact when not surrounded by space in query.sh (#5300)

This commit is contained in:
Adam Warner 2023-06-04 22:16:35 +01:00 committed by GitHub
commit 7e95371fe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ fi
# 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/ ?-(all|exact) ?//g' <<< "${options}")
options=$(sed -E 's/ +-(all|exact) ?//g' <<< "${options}")
# Handle remaining options
# If $options contain non ASCII characters, convert to punycode