Dear Maintainer,
$ curl -L 'https://bugs.debian.org/1034000' | grep 'link rel=.*canonical'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 307 100 307 0 0 604 0 --:--:-- --:--:-- --:--:-- 604
100 77888 0 77888 0 0 23799 0 --:--:-- 0:00:03 --:--:-- 44154
<link rel="canonical" href="<a href="bugreport.cgi?bug=1034000">1034000</a>">
Which yields to "link cards" on, for example, mastodon, linking to
https://bugs.debian.org/cgi-bin/<a href="bugreport.cgi?bug=1034000">1034000</a>
Unclear to me how this happens, since
templates/en_US/cgi/bugreport.tx:<link rel="canonical" href="<: $bug.url :>">
and
$ git grep '$bug.url'
templates/en_US/cgi/bugreport.tx:<link rel="canonical" href="<: $bug.url :>">
templates/en_US/cgi/bugreport.tx: <span><a href="<: $bug.url :>">Full log</a></span>
templates/en_US/cgi/bugreport_buginfo.tx: <a href="<: $bug.url :>"><: $bug.subject -:></a>
templates/en_US/cgi/bugreport_buginfo.tx: <a href="<: $bug.url :>"><: $bug.subject -:></a>
templates/en_US/cgi/short_bug_status.tx:<a href="<: $bug.url :>"<:$bug.is_done?' style="text-decoration:line-through"':'':>>#
templates/en_US/cgi/short_bug_status.tx: <a href="<: $bug.url :>"<:$bug.is_done?' style="text-decoration:line-through"':'':>>#<: $bug.bug :></a>
templates/en_US/cgi/short_bug_status.tx: <a href="<: $bug.url :>"><: $bug.subject :></a>
so it Should Work(?) or other links on the site would also be broken.
Can't chase this further, soz.
This supersedes https://github.com/mastodon/mastodon/issues/26169.
Best,
наб