From f8c065feb6d420994c159073c0fce10ef6adc876 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 11 Dec 2010 13:50:47 +0100 Subject: Quote URI when using middle click to open in new window @SELECTED_URI is not encoded, so a URI with spaces would expand to more than one parameter. --- examples/config/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index c5a0e86..a6651bf 100644 --- a/examples/config/config +++ b/examples/config/config @@ -183,7 +183,7 @@ set ebind = @mode_bind global,-insert # --- Mouse bindings --------------------------------------------------------- # Middle click open in new window -@bind = sh 'if [ "$8" ]; then uzbl-browser -u "$8"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' \@SELECTED_URI +@bind = sh 'if [ "$8" ]; then uzbl-browser -u "$8"; else echo "uri $(xclip -o | sed s/\\\@/%40/g)" > "$UZBL_FIFO"; fi' '\@SELECTED_URI' # --- Keyboard bindings ------------------------------------------------------ -- cgit v1.2.3