SF.net SVN: geany:[3968] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Jul 14 18:45:22 UTC 2009
Revision: 3968
http://geany.svn.sourceforge.net/geany/?rev=3968&view=rev
Author: eht16
Date: 2009-07-14 18:45:22 +0000 (Tue, 14 Jul 2009)
Log Message:
-----------
Quote the uri before passing it to the browser when opening a website (closes #2818635).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-07-14 15:14:38 UTC (rev 3967)
+++ trunk/ChangeLog 2009-07-14 18:45:22 UTC (rev 3968)
@@ -1,3 +1,10 @@
+2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/utils.c:
+ Quote the uri before passing it to the browser when opening a
+ website (closes #2818635).
+
+
2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2009-07-14 15:14:38 UTC (rev 3967)
+++ trunk/src/utils.c 2009-07-14 18:45:22 UTC (rev 3968)
@@ -80,7 +80,7 @@
g_return_if_fail(uri != NULL);
- cmdline = g_strconcat(tool_prefs.browser_cmd, " ", uri, NULL);
+ cmdline = g_strconcat(tool_prefs.browser_cmd, " \"", uri, "\"", NULL);
if (! g_spawn_command_line_async(cmdline, NULL))
{
const gchar *argv[3];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list