commit af574775374f8852224b0d036ce9eb9eb7e3bbc5
parent 63356b3f66974610b64560ec8c74ad1d00812fc5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 5 May 2020 09:11:21 +0200
Make sure special characters in urls are sufficiently escaped
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/firefox.sh b/.local/bin/firefox.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# -X: limited performance and X11 access
# -Y: full performance and X11 access
-asuser -X firefox nohup firefox -new-tab "$@" >/dev/null 2>&1 &
+asuser -X firefox nohup firefox -new-tab "\"$@\"" >/dev/null 2>&1 &