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 ", 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.

Reply via email to