diff libpurple/protocols/msn/soap.c @ 26976:e4ab3d5362df

Only log requested HTTP URL's when PURPLE_UNSAFE_DEBUG is set and change MSN to use PURPLE_UNSAFE_DEBUG instead of PURPLE_MSN_UNSAFE_DEBUG for consistency. Not logging URL's will prevent potential password disclosure for the Yahoo HTTP login method.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Thu, 14 May 2009 02:12:40 +0000
parents 1a701a4ceae3
children 6ddb4932772a
line wrap: on
line diff
--- a/libpurple/protocols/msn/soap.c	Wed May 13 18:42:52 2009 +0000
+++ b/libpurple/protocols/msn/soap.c	Thu May 14 02:12:40 2009 +0000
@@ -80,7 +80,7 @@
 	conn->session = session;
 	conn->host = g_strdup(host);
 	conn->queue = g_queue_new();
-	conn->unsafe_debug = g_getenv("PURPLE_MSN_UNSAFE_DEBUG") != NULL;
+	conn->unsafe_debug = g_getenv("PURPLE_UNSAFE_DEBUG") != NULL;
 	return conn;
 }