Description of problem: Unfortunately there doesn't seem to be IDNA 2008 support in lynx (and even the available IDNA 2003 support doesn't currently seem to be enabled during packaging). Version-Release number of selected component (if applicable): lynx-2.8.9-9.fc33 How reproducible: Everytime, see above and below. Steps to Reproduce: 1. lynx https://www.straße.de/ 2. lynx https://www.xn--strae-oqa.de/ 3. Both websites should provide the same result. Actual results: Missing IDNA 2008 support in lynx Expected results: Full IDNA 2008 support in lynx
Patch proposal at https://src.fedoraproject.org/rpms/lynx/pull-request/2
The question is whether IDNA support is really needed in lynx. I would prefer to keep the list of run-time dependencies minimal for lynx. If one needs a browser with a lot of features (and dependencies), we already provide elinks.
Can you actually have a system without libidn2? Based on a quick check here: gnutls depends on libidn2 (gnutls is required by NetworkManager, systemd, glib2), systemd, libcurl and iputils depend directly on libidn2. On the other side, some of us use lynx not only for "rescue interactions" (where I would understand minimal run-time dependencies), but as a regular daily tool where IDNA 2008 support makes indeed sense (e.g. inside console mail client). It's also not that I would inherit a whole bloated Java, NPM, Ruby or Go stack here ;-) So yes, I get and support your point regarding minimal run-time dependencies, but I'm in doubt that you really can avoid libidn2 on modern systems...
> Can you actually have a system without libidn2? Yes. Please try the following steps -- it gives you a system where lynx works without libdn2 being installed: $ mock -r fedora-rawhide-x86_64 --init $ mock -r fedora-rawhide-x86_64 --remove libidn2 $ mock -r fedora-rawhide-x86_64 --install lynx $ mock -r fedora-rawhide-x86_64 --enable-network --shell lynx Btw. libcurl can be easily replaced by libcurl-minimal, which does not depend on libidn2: $ mock -r fedora-rawhide-x86_64 --init $ mock -r fedora-rawhide-x86_64 --install libcurl-minimal
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
I took all of this into account last year, and provided for either version. (as usual, feedback would be appreciated).
Perfect. Thank you for taking care of it! I have added the BuildRequires for libidn2-devel: https://src.fedoraproject.org/rpms/lynx/c/084ffc811e13f6d70bc558d3210a536865e4c2c9?branch=rawhide
Thank you! :)