pidgin: 2df0f0e8: The URL probably needs to be quoted.

qulogic at pidgin.im qulogic at pidgin.im
Tue Jun 5 03:33:46 EDT 2012


----------------------------------------------------------------------
Revision: 2df0f0e888994332d6cfa29ef7ed749b6a31c57d
Parent:   d63e24f0c90786170cd999b0a0c0d8fad9447cc5
Author:   qulogic at pidgin.im
Date:     06/05/12 02:15:26
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2df0f0e888994332d6cfa29ef7ed749b6a31c57d

Changelog: 

The URL probably needs to be quoted.

Changes against parent d63e24f0c90786170cd999b0a0c0d8fad9447cc5

  patched  pidgin/gtkwebview.c

-------------- next part --------------
============================================================
--- pidgin/gtkwebview.c	94d49d1dff266d671f0ec7c03a2dd6eeafb2a713
+++ pidgin/gtkwebview.c	3ac28ffe548876e548fef2376510f7e2d6596723
@@ -1044,7 +1044,7 @@ gtk_webview_insert_link(GtkWebView *webv
 	char *link;
 
 	dom = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(webview));
-	link = g_strdup_printf("<a href=%s>%s</a>", url, desc ? desc : url);
+	link = g_strdup_printf("<a href='%s'>%s</a>", url, desc ? desc : url);
 
 	priv->edit.block_changed = TRUE;
 	webkit_dom_document_exec_command(dom, "insertHTML", FALSE, link);


More information about the Commits mailing list