--- a/src/protocols/yahoo/yahoo_filexfer.c Sun Feb 06 10:19:08 2005 -0500
+++ b/src/protocols/yahoo/yahoo_filexfer.c Sun Feb 06 12:40:26 2005 -0500
@@ -261,6 +261,11 @@
length = g_strstr_len(xd->rxqueue, len, "Content-length:");
+ /* some proxies re-write this header, changing the capitalization :( + * technically that's allowed since headers are case-insensitive + * [RFC 2616, section 4.2] */ + length = g_strstr_len(xd->rxqueue, len, "Content-Length:"); end = g_strstr_len(length, length - xd->rxqueue, "\r\n");