aboutsummaryrefslogtreecommitdiffstats
path: root/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/body
blob: d20af3029556c020c44010f4185c777d7b7eb72f (plain) (blame)
1
2
3
4
5
6
7
8
9
I'm not sure that changing the URLs is a good idea.  I'd rather use
.htaccess and mod_rewrite to redirect short URLs to their permanent
long equivalents.  Nobody else seems to mind though, so I've merged
Gianluca's solution with a few changes:
  * Since we're truncating bug IDs, truncate comment IDs too.
  * Use libbe.util.id._truncate to generate the short IDs, so that `be
    html` truncation is consistent with general BE truncation.
  * Updated cross-linking code to match.