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?

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to