Mercurial > pidgin
diff src/protocols/yahoo/yahoochat.c @ 10575:96307e1a47c9
[gaim-migrate @ 11968]
This makes Yahoo roomlist & filetransfer work with HTTP proxies (except when
authentication is needed), webauth probably works too but I couldn't work out
how to test that.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 05 Feb 2005 18:24:50 +0000 |
parents | 1a97d5e88d12 |
children | 7d13c04387ad |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoochat.c Sat Feb 05 17:59:20 2005 +0000 +++ b/src/protocols/yahoo/yahoochat.c Sat Feb 05 18:24:50 2005 +0000 @@ -1317,7 +1317,8 @@ yrl->fd = source; cookie = g_strdup_printf("Y=%s; T=%s", yd->cookie_y, yd->cookie_t); - buf = g_strdup_printf("GET /%s HTTP/1.0\r\nHost: %s\r\nCookie: %s\r\n\r\n", yrl->path, yrl->host, cookie); + buf = g_strdup_printf("GET http://%s/%s HTTP/1.0\r\nHost: %s\r\nCookie: %s\r\n\r\n", + yrl->host, yrl->path, yrl->host, cookie); write(yrl->fd, buf, strlen(buf)); g_free(cookie); g_free(buf);