Comment 1 for bug 1841930

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hey, thanks for the report.
It seems it has become a hobby of mine to come by and fix small issue on the manpages until we can find more time to tackle the longer backlog.

In regard to this your report is absolutely correct and the rendered html file represents that. I compare trusty to noble.

T:
Report numfmt bugs to <a href="mailto:<email address hidden>"><email address hidden></a>

N:
GNU coreutils online help: &lt;https://www.gnu.org/software/coreutils/&gt;

Sadly this conversion seems to be in perl and I'm not the biggest perl magician.
What I've found looking through the code comes down to this ...

What I've found is that it extracts the deb file to get the man page.
And then throws it into w3mman like:

COLUMNS=100 /usr/lib/w3m/cgi-bin/w3mman2html.cgi "local=/tmp/testdir/tmpdir/usr/share/man/man1/numfmt.1.gz"

On Xenial that has the expected non https content with a href:

"""
<b>REPORTING</b> <b>BUGS</b>
       GNU coreutils online help: &lt;<a href="http://www.gnu.org/software/coreutils/">http://www.gnu.org/software/coreutils/</a>&gt;
"""

And the same with the coreutils content of noble with https is
<b>REPORTING</b> <b>BUGS</b>
       GNU coreutils online help: &lt;https://www.gnu.org/software/coreutils/&gt;
"""

So this is at least identifying where it falls apart.