Re: Subject: Disable %-decoding of URLs? (possible bug?)
Thomas Dickey <[email protected]> Thu, 19 Mar 2026 20:32:48 -0400
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 19, 2026 at 09:34:08PM +0000, Conrad Hughes via Lynx-dev wrote: > I've recently started to receive HTML emails containing links which > 'lynx -child -dump' seems to be rendering wrongly. They contain > %-encoded URLs > > <a href="https://foo.bar/otherdomain%2Fpath%2Fetc%3Fparam%3Dval.."> > > .. when rendered by lynx these are presented with the %codes decoded (so > I get otherdomain/path/etc?param=val.. above). This decoded URL is not > openable: the server at foo.bar only returns a page for the *%-encoded* > version of the URL. This seems to be a new thing, and because I'm using > the current Debian release of lynx (2.9.2, compiled in 2024) it is > almost certainly some new piece of e-commerce order tracking craziness, > but it would be nice to sort out. > > I'm wondering whether > > (1) there's an option somewhere to prevent lynx from decoding these > URLs when rendering them; and > > (2) do you think this decoding of the URLs counts as a bug, or is it > misbehaviour on the part of the software that generates these URLs and > fails to handle them? It's been too long since I was familiar with > the standards docs.. Someone reported something like this last summer (still on my to-do list, since ahead of that was an improvement which I've not found time to complete -- but this one probably is less effort). > (if I use lynx interactively on the email body, then it correctly opens > the encoded version of the link, so I am suspecting that this might > count as a rendering bug) > > Best, > Conrad > > -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
(application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmm8lawACgkQzCr0RyFn vgM3qgv/fdBOWiZZhyP8IdpC0c36fDRALa0wNQNTjMjKE7s/m56oK+WTPdeCaM/f Md6XM2jDUFR25Hj1iJE0lY/r6BhkA00uyzBECc7mcFt8dVmqD1K+3CWGMytKgoFf IdL8OP9j/9LqprwVTZoZGQtyLtlUMIihXjZ7qDlzYTwg9/Re07/Np/MkdMPmNYfV cbHrWHVBzs4xjXf3E3MCv0oHe6eetY2Y1j2FBswVN2Qu8ZXf+BbJKoOJLJeKiQKn ioKOUQy/SS6vslGhkhVv7qPpciim3D7niXXkRYpozvKeC4x9v9NOGffy/QicP5aH +AVNd3TWHTVFteKCglyzZqQ/agYo99qIlS7FISHGnND1zDWy19sNE71GGsrV1Lyg 0b2mOo0iIWJSRfcg/eacSTUgQYIcLOHqS7Uxh+RXP+luLhkL3ZsMtzyFlvoz9wCL 8TvflAXeDwq37tNco9vVtPh+wxF5Ol6nb+REC33e3gu0vNiBj0z3Iijx/fEy/+aS x4Up6HSg =2omW -----END PGP SIGNATURE-----