diff src/protocols/msn/msn.c @ 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 6f4979d8cc3c
children 8f94cce8faa5
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)) {