Re: Google does not work?

David Woolley <[email protected]> Sun, 14 Sep 2025 17:02:38 +0100
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On 13/09/2025 18:37, Davidson via Lynx-dev wrote:
> that link is broken, because its url is erroneously enclosed in double
> quotes
> 
> "https://html.duckduckgo.com/html"
> 
That confused me, as quotes are legitimate around URLs, but what it 
actually contains is &quot;, which is the escaped version of ".

<noscript data-next-head=""><meta http-equiv="refresh" content="0; 
url=&quot;https://html.duckduckgo.com/html&quot;"/>...

Actually, it is trying to trigger a browser side redirect, by simulating 
an HTTP header, with a meta element.  I'm not sure if Lynx supports 
that, even with the correct use of quotes.

Thinking more about it, it may actually be correct to escape the quotes 
there.  It would need some research on the quoting rules, but it 
wouldn't be possible to use meta to simulate arbitrary HTTP headers, if 
there wasn't a level of unescaping of quotes, although dropping the 
quotes entirely may be enough here. I think this is a Lynx bug.