pidgin: 4e5a642f: Mimic the official client's HTTP User-Ag...
rekkanoryo at pidgin.im
rekkanoryo at pidgin.im
Fri Jun 26 20:15:39 EDT 2009
-----------------------------------------------------------------
Revision: 4e5a642f1af4cb2fa6cd49596c19d7f99312fc0b
Ancestor: 1490bc9b5da3684cfe634ae71d22e5903a639e7c
Author: rekkanoryo at pidgin.im
Date: 2009-06-26T23:59:34
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4e5a642f1af4cb2fa6cd49596c19d7f99312fc0b
Modified files:
libpurple/protocols/yahoo/yahoo.h
libpurple/protocols/yahoo/yahoo_picture.c
ChangeLog:
Mimic the official client's HTTP User-Agent strings.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.h daa5a59415ba45300404fd483a0a3061903f8ede
+++ libpurple/protocols/yahoo/yahoo.h d5e2e453eb44d572c05fa46dafbae6d4b7f82ac5
@@ -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
============================================================
--- libpurple/protocols/yahoo/yahoo_picture.c 678f9fe473e12b16d0bb7a750c7623f9afd11979
+++ libpurple/protocols/yahoo/yahoo_picture.c 7abb29bb5632fe0caa9aff5007e20882204e9a7e
@@ -139,7 +139,7 @@ void yahoo_process_picture(PurpleConnect
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;
More information about the Commits
mailing list