[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Cookie problems?
From: |
Heikki Kantola |
Subject: |
Re: lynx-dev Cookie problems? |
Date: |
Sat, 26 Sep 1998 12:46:36 +0300 |
According to brian j. pardy <address@hidden>:
> Larry W. Virden wrote:
> > > When I try to access http://www.medscape.com/ with its cookie saved, Lynx
> > > says "Alert!: HTTP/1.1 400 Bad Request". When I delete the cookie I can
> > > access the site and login manually.
> >
> > Is it safe to assume that 2.8.1 formal will remain on hold until this
> > situation is resolved?
>
> I think this fixes part or all of the problem.
>
> Laura, could you try this on shopping.com, and Heikki on IMDB?
The patch fixes the automatic cookie accepting, but...
> Against pre2.
>
> fgets() was leaving a newline at the end of each cookie read from the
> persistent cookie file, this patch removes the newline at the end.
>
> When a domain had more than one cookie, Lynx was improperly sending the
> cookie headers. Where it should be sending:
>
> Cookie: IMDB[blah]=BLAHBLAHBLAH; IMDB2=BLAH2
>
> Lynx was sending:
>
> Cookie: IMDB[blah]=BLAHBLAHBLAH
...there still (got this with unpatched version too) appears to be
something odd with using persistent cookies via proxy (Squid/1.2.beta25
in my case to be exact) as if I try eg. searching something from IMDb,
I get error message:
The requested URL could not be retrieved
_________________________________________________________________
While trying to process the request:
POST /M/multi-search HTTP/1.0
Host: us.imdb.com
Accept: text/html, text/plain, application/x-dvi, application/pdf,
application/postscript, image/x-ham, image/x-iff, image/x-ilbm, image/tiff,
image/gif, image/jpeg, video/*, video/mpeg, text/sgml, video/mpeg, image/jpeg,
image/tiff, image/x-rgb
Accept: image/png, image/x-xbitmap, image/x-xbm, image/gif, application/
postscript, video/mpeg, image/jpeg, image/x-tiff, image/x-rgb, image/x-xbm,
image/gif, application/postscript, */*;q=0.01
Accept-Encoding: gzip, compress
Accept-Language: en
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Lynx/2.8.1pre.2 libwww-FM/2.14
Referer: http://www.imdb.com/
Cookie2: $Version="1"
Cookie: IMDBDATA=68657a7540696b692e66693a36323536323a312e313a3a68657a
7540696b692e66693a36323536323a36383339353a48657a753a353a32383a31313a3a
The following error was encountered:
* Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:
* Missing or unknown request method
* Missing URL
* Missing HTTP Identifier (HTTP/1.0)
* Request is too large
* Content-Length missing for POST or PUT requests
* Illegal character in hostname; underscores are not allowed
If I disable proxy or use unsaved cookie everything works fine...
--
Heikki "Hezu" Kantola, <address@hidden>
Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.