changeset 27267:57ea320e2727

Mimic the official client's HTTP User-Agent strings.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Fri, 26 Jun 2009 23:59:34 +0000
parents dfa7d2a0d9b8
children 25db53cfc12c
files libpurple/protocols/yahoo/yahoo.h libpurple/protocols/yahoo/yahoo_picture.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.h	Fri Jun 26 05:27:51 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.h	Fri Jun 26 23:59:34 2009 +0000
@@ -89,7 +89,7 @@
 #define YAHOOJP_CLIENT_VERSION_ID "4194239"
 #define YAHOOJP_CLIENT_VERSION "9.0.0.2152"
 
-#define YAHOO_CLIENT_USERAGENT "Mozilla/4.0 (compatible; MSIE 5.5)"
+#define YAHOO_CLIENT_USERAGENT "Mozilla/5.0"
 
 /* Index into attention types list. */
 #define YAHOO_BUZZ 0
--- a/libpurple/protocols/yahoo/yahoo_picture.c	Fri Jun 26 05:27:51 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo_picture.c	Fri Jun 26 23:59:34 2009 +0000
@@ -139,7 +139,7 @@
 		data->checksum = checksum;
 		/* TODO: Does this need to be MSIE 5.0? */
 		url_data = purple_util_fetch_url(url, use_whole_url,
-				"Mozilla/4.0 (compatible; MSIE 5.0)", FALSE,
+				"Mozilla/4.0 (compatible; MSIE 5.5)", FALSE,
 				yahoo_fetch_picture_cb, data);
 		if (url_data != NULL) {
 			yd = gc->proto_data;