Bug#979319: invalid link rel="canonical" on bugs.debian.org
Max Nikulin <[email protected]> Sun, 5 Apr 2026 15:10:48 +0700
| Newsgroups | gmane.linux.debian.devel.debbugs |
|---|---|
| Message-ID | <015beb27-e3ac-4f58-b92c-36992171e03f__20243.6291774333$1775376853$gmane$org@gmail.com> |
On 05/01/2021 4:46 pm, Maxim Nikulin wrote: > > 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 I have realized that <link rel="canonical" ...> HTML tags are properly formatted on bugs-devel.debian.org. So fixing bugs.debian.org is matter of releasing next debbugs version or backporting the fix to the 2.6 branch and deploying the new version. I've found an earlier commit that added `links_only` argument inside the template: <link rel="canonical" href="<: bug_links(bug=>$bug_num,links_only=>1) :>"> <https://salsa.debian.org/debbugs-team/debbugs/-/commit/377afb9d91> canonical should just have the link 2018-03-09T18:17:24Z Don Armstrong So the bug was fixed on master 8 years ago. A duplicate of this bug has been reported saying that broken href attribute causes issues with sharing links to bug reports in social media: <https://bugs.debian.org/1042014> Tue, 25 Jul 2023 18:39:02 UTC