lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] "<base href=" bug?


From: Thomas Dickey
Subject: Re: [Lynx-dev] "<base href=" bug?
Date: Sat, 30 Oct 2021 15:58:07 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

On Sat, Oct 30, 2021 at 08:08:35PM +0200, Gisle Vanem wrote:
> Downloading and building the latest (?)

not just the latest (in a quick check, 2.8.9rel.1 does the same)
so it doesn't appear to be a new problem.

>   ftp://ftp.invisible-island.net/lynx/tarballs/lynx2.9.0dev.10.zip
> 
> I discovered a simple:
>   <head>
>   <base href="./">
>   ...
> 
> fails to find a resource on the page.
> 
> Like on my page 'http://watt-32.net/dx/', Lynx believes all local
> links are at "..". E.g. the last is at:
>   http://watt-32.net/R-Amazonia-DRM-from-New-Carolina.png
> 
> Why?

no quick answer (I might have time to dig into this tomorrow)

I suspect that this chunk in the trace-file is what you're asking about:

HTParse:      result:`//watt-32.net'
HTParse: aName:`./'
   relatedName:`'
   want: punc path
HTParse: (REL)
HTParse:      result:`'
*HTML_BASE: final href=`http://watt-32.net/'

> No problem in other browsers.
> 
> -- 
> --gv
> 

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]