Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 6980:1da447732906
[gaim-migrate @ 7536]
I'm supposed to be on vacation! :~( This fixes the problem where moving a
user with unescaped characters in the friendly name causes a disconnect.
Yay for tuna.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 27 Sep 2003 15:42:55 +0000 |
parents | 885c6528843b |
children | dece74f05509 |
comparison
equal
deleted
inserted
replaced
6979:bdd046deec7e | 6980:1da447732906 |
---|---|
1634 | 1634 |
1635 if ((friendly = msn_user_get_name(session->moving_user)) == NULL) | 1635 if ((friendly = msn_user_get_name(session->moving_user)) == NULL) |
1636 friendly = passport; | 1636 friendly = passport; |
1637 | 1637 |
1638 g_snprintf(outparams, sizeof(outparams), "FL %s %s %d", | 1638 g_snprintf(outparams, sizeof(outparams), "FL %s %s %d", |
1639 passport, friendly, msn_group_get_id(group)); | 1639 passport, msn_url_encode(friendly), |
1640 msn_group_get_id(group)); | |
1640 | 1641 |
1641 if (!msn_servconn_send_command(session->notification_conn, | 1642 if (!msn_servconn_send_command(session->notification_conn, |
1642 "ADD", outparams)) { | 1643 "ADD", outparams)) { |
1643 gaim_connection_error(gc, _("Write error")); | 1644 gaim_connection_error(gc, _("Write error")); |
1644 return FALSE; | 1645 return FALSE; |