changeset 6909:31a8936bbccc

[gaim-migrate @ 7456] URL-encode the MSN friendly name of the buddy we're trying to drag so that we don't get booted. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 21 Sep 2003 22:28:10 +0000
parents 7729e280b169
children 37d1699df8e2
files src/protocols/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun Sep 21 21:39:06 2003 +0000
+++ b/src/protocols/msn/msn.c	Sun Sep 21 22:28:10 2003 +0000
@@ -1079,7 +1079,8 @@
 	}
 	else {
 		g_snprintf(outparams, sizeof(outparams), "FL %s %s %d",
-				   who, friendly, msn_group_get_id(new_group));
+				   who, msn_url_encode(friendly),
+				   msn_group_get_id(new_group));
 
 		if (!msn_servconn_send_command(session->notification_conn,
 									   "ADD", outparams)) {