changeset 6228:36897deb064b

[gaim-migrate @ 6721] Phone numbers that are set in MSN weren't being encoded. This fixes bug #773735. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 19 Jul 2003 06:23:42 +0000
parents 750a5055def6
children 254bb94a216e
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	Sat Jul 19 05:32:02 2003 +0000
+++ b/src/protocols/msn/msn.c	Sat Jul 19 06:23:42 2003 +0000
@@ -83,7 +83,8 @@
 	if (entry == NULL || *entry == '\0')
 		g_snprintf(outparams, sizeof(outparams), "%s  ", type);
 	else
-		g_snprintf(outparams, sizeof(outparams), "%s %s", type, entry);
+		g_snprintf(outparams, sizeof(outparams), "%s %s", type,
+				   msn_url_encode(entry));
 
 	if (!msn_servconn_send_command(session->notification_conn,
 								   "PRP", outparams)) {