Ensure to replace whitespaces with "%20" in URL

This commit is contained in:
gardouille 2020-12-03 20:03:59 +01:00
parent 0434fbe582
commit 116389d6a4
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 0 deletions

2
qb
View File

@ -307,6 +307,8 @@ Search aborded or can't find matching bookmark."
# }}}
open_in_qutebrowser() { # {{{
url=$(printf "%s" "${url}" | sed 's/ /%20/g')
debug_message "open_in_qutebrowser \
Try to open ${RED}${url}${COLOR_DEBUG}"