diff src/notify.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 62eb9fe24692
children 95ca0db2d01d
line wrap: on
line diff
--- a/src/notify.c	Fri Nov 19 16:42:07 2004 +0000
+++ b/src/notify.c	Fri Nov 19 20:18:14 2004 +0000
@@ -183,7 +183,7 @@
 }
 
 void *
-gaim_notify_uri(void *handle, const char *uri)
+gaim_notify_uri(void *handle, const char *uri, gboolean trusted)
 {
 	GaimNotifyUiOps *ops;
 
@@ -197,7 +197,7 @@
 		info            = g_new0(GaimNotifyInfo, 1);
 		info->type      = GAIM_NOTIFY_URI;
 		info->handle    = handle;
-		info->ui_handle = ops->notify_uri(uri);
+		info->ui_handle = ops->notify_uri(uri, trusted);
 
 		handles = g_list_append(handles, info);