diff src/protocols/jabber/jabber.c @ 10209:9e0b98c458b1

[gaim-migrate @ 11331] gaim_notify_uri now needs trusted parameter to indicate whether the source of the uri is trusted. This helps us avoid the security risks involved in blindly executing untrusted local file URIs in windows. This fixes the MSN open mail bug on windows. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 19 Nov 2004 20:18:14 +0000
parents 4e7249591251
children 09876d57c520
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Fri Nov 19 16:42:07 2004 +0000
+++ b/src/protocols/jabber/jabber.c	Fri Nov 19 20:18:14 2004 +0000
@@ -571,7 +571,7 @@
 			if((url = xmlnode_get_child(x, "url"))) {
 				char *href;
 				if((href = xmlnode_get_data(url))) {
-					gaim_notify_uri(NULL, href);
+					gaim_notify_uri(NULL, href, TRUE);
 					g_free(href);
 					js->gc->wants_to_die = TRUE;
 					jabber_connection_schedule_close(js);