summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Dieter <rdieter@fedoraproject.org>2012-08-09 07:40:57 -0500
committerRex Dieter <rdieter@fedoraproject.org>2012-08-09 07:40:57 -0500
commitd1cb061c85388cb9e87a3ea902061d7b94726971 (patch)
treec3478af2d52e23d79a2c26e79a5597553c807c92
parent5be359a49d4d8dc3c5f814ab89b8422ad522d837 (diff)
xdg-open fails to open a url (BR45859)
* xdg-open fails to open a url in a "generic" environment (BR45859)
-rw-r--r--ChangeLog3
-rw-r--r--scripts/xdg-open.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e961e2a..fffce7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
=== xdg-utils 1.1.x ===
+2012-08-09 Rex Dieter <rdieter@fedoraproject.org>
+ * xdg-open fails to open a url in a "generic" environment (BR45859)
+
2012-03-10 Rex Dieter <rdieter@fedoraproject.org>
* allow DESKTOP_SESSION='Xfce Session' to match xfce
diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
index 771cc6b..19cb88f 100644
--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -237,7 +237,7 @@ open_generic()
fi
if [ x"$browser_with_arg" = x"$browser" ]; then
- eval '$browser $1'$xdg_redirect_output;
+ eval '$browser "$1"'$xdg_redirect_output;
else eval '$browser_with_arg'$xdg_redirect_output;
fi