[Pkg-gmagick-im-team] Bug#978138: Many doubled "www/www" broken links on index.html

積丹尼 Dan Jacobson jidanni at jidanni.org
Sat Dec 26 13:51:49 GMT 2020


Package: imagemagick-6-doc
Version: 8:6.9.11.24+dfsg-1
Severity: important

cd /usr/share/doc/imagemagick-6-doc/html
for i in $(mech-dump --links index.html | perl -nwle 'next if /^http/;
s/#.*//; print;' | sort -u); do if test -f $i; then k=GOOD; else k=BAD\ ; fi; echo "$k:" $i; done

GOOD: index.html
GOOD: www/architecture.html
BAD : www/assets/magick-css.html
GOOD: www/contact.html
GOOD: www/download.html
BAD : www/images/wand.ico
BAD : www/images/wand.png
BAD : www/images/wizard.png
GOOD: www/index.html
GOOD: www/license.html
BAD : www/www/architecture.html
BAD : www/www/command-line-processing.html
BAD : www/www/command-line-tools.html
BAD : www/www/composite.html
BAD : www/www/connected-components.html
BAD : www/www/convert.html
BAD : www/www/develop.html
BAD : www/www/distribute-pixel-cache.html
BAD : www/www/download.html
BAD : www/www/formats.html
BAD : www/www/fx.html
BAD : www/www/gradient.html
BAD : www/www/high-dynamic-range.html
BAD : www/www/identify.html
BAD : www/www/links.html
BAD : www/www/montage.html
BAD : www/www/motion-picture.html
BAD : www/www/opencl.html
BAD : www/www/openmp.html
BAD : www/www/resources.html
BAD : www/www/security-policy.html
BAD : www/www/sitemap.html
BAD : www/www/support.html

Therefore something is putting an extra www into those links.

We also notice the problem permeates other pages too:

cd www
for i in $(mech-dump --links command-line-processing.html | perl -nwle 'next if /^http/; s/#.*//; print;' | sort -u); do if test -f $i; then k=GOOD; else k=BAD\ ; fi; echo "$k:" $i; done
GOOD: ../index.html
BAD : ../www/assets/magick-css.html
GOOD: ../www/contact.html
BAD : ../www/images/button.gif
BAD : ../www/images/label.gif
BAD : ../www/images/logo.png
BAD : ../www/images/wand.ico
BAD : ../www/images/wand.png
GOOD: ../www/index.html
BAD : ../www/www/architecture.html
BAD : ../www/www/command-line-options.html
BAD : ../www/www/command-line-processing.html
BAD : ../www/www/command-line-tools.html
BAD : ../www/www/compare.html
BAD : ../www/www/composite.html
BAD : ../www/www/conjure.html
BAD : ../www/www/convert.html
BAD : ../www/www/develop.html
BAD : ../www/www/display.html
BAD : ../www/www/download.html
BAD : ../www/www/formats.html
BAD : ../www/www/import.html
BAD : ../www/www/links.html
BAD : ../www/www/montage.html
BAD : ../www/www/resources.html
BAD : ../www/www/security-policy.html
BAD : ../www/www/sitemap.html
BAD : ../www/www/support.html
GOOD: command-line-processing.html

Do install the linklint package,
and use
   Local Site Checking
       If you are developing HTML pages on a computer that does not have an
       http server, or if you are developing a simple site that does not use
       Server Redirection or extensive CGI, you should use local site
       checking.

            linklint /@

       Checks all HTML files in the current directory and below. Assumes that
       the current directory is the server root directory so links starting...



More information about the Pkg-gmagick-im-team mailing list