Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
10208:cbdce0acbbe6 | 10209:9e0b98c458b1 |
---|---|
569 xmlnode *url; | 569 xmlnode *url; |
570 | 570 |
571 if((url = xmlnode_get_child(x, "url"))) { | 571 if((url = xmlnode_get_child(x, "url"))) { |
572 char *href; | 572 char *href; |
573 if((href = xmlnode_get_data(url))) { | 573 if((href = xmlnode_get_data(url))) { |
574 gaim_notify_uri(NULL, href); | 574 gaim_notify_uri(NULL, href, TRUE); |
575 g_free(href); | 575 g_free(href); |
576 js->gc->wants_to_die = TRUE; | 576 js->gc->wants_to_die = TRUE; |
577 jabber_connection_schedule_close(js); | 577 jabber_connection_schedule_close(js); |
578 return; | 578 return; |
579 } | 579 } |