Package: bugs.debian.org
HTML pages with bug reports on bugs.debian.org have incorrect href
attribute for the <link rel="canonical"> element. Try e.g.
curl -s 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890338'
| grep '^<link rel="canonical"'
Actual result:
<link rel="canonical" href="<a
href="bugreport.cgi?bug=890338">890338</a>">
Expected result:
<link rel="canonical"
href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890338">
or
<link rel="canonical" href="https://bugs.debian.org/890338">
Sorry, I could not find version of package "debbugs" installed on
https://bugs.debian.org That is why I am unsure if the bug should be
submitted against the debbugs package.
My knowledge of perl is not enough to tell if the following commit fixed
this issue or some earlier one:
e47d145410 Don Armstrong 2018-08-20 03:31:42
mousify bugreport and short status templates
Another flavor of rel="canonical" issue is:
#926672 debbugs: 'bug' parameter is undefined for canonical URIs
#908038 Program fragment delivered error: <link rel="canonical"
href="..."> (Perl error in public HTML page)
The story maybe started from:
#890338 bugs.debian.org: Please add dd rel="canonical" links to bug pages