Unverified Commit d7fc9b87 authored by jackh's avatar jackh Committed by Marc Cornellà

fix(frontend-search): URL-encode search parameters (#10910)

Fixes #10884
Closes #10910
parent 140c977a
......@@ -103,8 +103,7 @@ function frontend() {
# build search url:
# join arguments passed with '%20', then append to search context URL
# TODO substitute for proper urlencode method
url="${urls[$1]}${(j:%20:)@[2,-1]}"
url="${urls[$1]}$(omz_urlencode -P ${@[2,-1]})"
echo "Opening $url ..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment