found 254515 2.8.5-2sarge2.1 tags 254515 + patch stop
This isn't actually fixed, removing duplicates and shadowed mime types helps a little bit, but it's still quite possible to get past the limit where google starts giving a 400 error. A dpatch is attached which, instead of including a list of mime types, just hands off */* like Mozilla, this solves the privacy leakage as well as the whole google not working problem. Zephaniah E. Hull. -- 1024D/E65A7801 Zephaniah E. Hull <[EMAIL PROTECTED]> 92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801 CCs of replies from mailing lists are requested. > My kid brother tells me Visual Age for Java is the cat's pajamas I'm not a cat person, but I can just imagine the reaction of your average feline to someone's attempt to stuff it into a pair of pajamas. Now picture your hard disk after the thing installs. -- Berry Kercheval and Graham Reed on ASR.
#! /bin/sh /usr/share/dpatch/dpatch-run ## 06_accept_all.dpatch by Zephaniah E. Hull <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Accept all mime types, instead of using the mimecap list. @DPATCH@ diff -ur tmp/lynx-2.8.5/WWW/Library/Implementation/HTTP.c lynx-2.8.5/WWW/Library/Implementation/HTTP.c --- tmp/lynx-2.8.5/WWW/Library/Implementation/HTTP.c 2004-01-07 21:03:09.000000000 -0500 +++ lynx-2.8.5/WWW/Library/Implementation/HTTP.c 2006-09-24 21:58:50.000000000 -0400 @@ -401,7 +401,6 @@ BOOL extensions; /* Assume good HTTP server */ char *linebuf = NULL; char temp[80]; - BOOL first_Accept = TRUE; BOOL show_401 = FALSE; BOOL show_407 = FALSE; BOOL auth_proxy = NO; /* Generate a proxy authorization. - AJL */ @@ -409,7 +408,11 @@ int length, rawlength, rv; int server_status; BOOL doing_redirect, already_retrying = FALSE; + +#ifndef ACCEPT_ALL + BOOL first_Accept = TRUE; int len = 0; +#endif #ifdef USE_SSL BOOL do_connect = FALSE; /* ARE WE going to use a proxy tunnel ? */ @@ -693,6 +696,9 @@ FREE(host); } +#ifdef ACCEPT_ALL + HTBprintf(&command, "Accept: */*%c%c", CR,LF); +#else if (!HTPresentations) HTFormatInit(); n = HTList_count(HTPresentations); @@ -737,6 +743,7 @@ "Accept: " : ", "), CR, LF); first_Accept = FALSE; len = 0; +#endif /* * FIXME: suppressing the "Accept-Encoding" in this case is done to work diff -ur tmp/lynx-2.8.5/WWW/Library/Implementation/HTTP.h lynx-2.8.5/WWW/Library/Implementation/HTTP.h --- tmp/lynx-2.8.5/WWW/Library/Implementation/HTTP.h 2002-12-01 21:07:38.000000000 -0500 +++ lynx-2.8.5/WWW/Library/Implementation/HTTP.h 2006-09-24 21:59:45.000000000 -0400 @@ -19,6 +19,8 @@ #define URL_POST_METHOD 2 #define URL_MAIL_METHOD 3 +#define ACCEPT_ALL 1 + extern int ws_read_per_sec; extern BOOL reloading; extern char * redirecting_url;
signature.asc
Description: Digital signature