[gaim-migrate @ 6721]

Sat, 19 Jul 2003 06:23:42 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Sat, 19 Jul 2003 06:23:42 +0000
changeset 6228
f28f91058a7a
parent 6227
ae4771ec0e06
child 6229
1704facbe9a5

[gaim-migrate @ 6721]
Phone numbers that are set in MSN weren't being encoded. This fixes bug
#773735.

src/protocols/msn/msn.c file | annotate | diff | comparison | revisions
--- 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)) {

mercurial