Thomas Dickey wrote:
On Mon, Nov 23, 2009 at 09:17:00AM +0000, Richard Kettlewell wrote:
Thomas Dickey wrote:

without the trace file attached to the bug report, no one can tell
if we're discussing the same thing.
Attached.

ttfn/rjk

                Lynx Trace Log (2.8.7dev.9)
...

Here's the line showing the URI:

GET http://jukebox/cgi-bin/disorder HTTP/1.0\r
...

Here's the line showing the path:

HTMIME: PICKED UP Set-Cookie: 
'disorder=none;Max-Age=0;Version=1;Path=/cgi-bin/disorder'
...

Here's the chunk where lynx parses the URI and then prompts:

HTParse: aName:`http://jukebox/cgi-bin/disorder'
   relatedName:`'
   want: host
HTParse:      result:`jukebox'
HTParse: aName:`http://jukebox/cgi-bin/disorder'
   relatedName:`'
   want: punc path
HTParse: (ABS)
HTParse:      result:`/cgi-bin/disorder'
Confirm: Accept invalid cookie path=/cgi-bin/disorder as a prefix of 
'/cgi-bin'? (n) GETCH: Got 0x79.

From your earlier statement, it seems that you would then expect lynx to
compare the path "/cgi-bin/disorder" to "http://jukebox/cgi-bin/disorder";.
That would always mismatch.  Lynx is taking the path part of the URI
and checking that (seems to work...).  It mismatches, and prompts.

For which URI is "/cgi-bin/disorder" a prefix then?

It's a prefix of "/cgi-bin/disorder", which is what Lynx should be comparing with. Throwing away the 'basename' part and reaching just "/cgi-bin" is incorrect.

ttfn/rjk




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to