Make flat messageview redirect to md5 of messageid
authorMagnus Hagander <magnus@hagander.net>
Wed, 20 Jun 2018 14:31:36 +0000 (16:31 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 20 Jun 2018 14:31:36 +0000 (16:31 +0200)
commit7426cf752459f24afce78cb439e2aea440ec0583
treecea36e27a24868f22d8dde002295528e45b61139
parente708ebeb6e692355f2bf917e5eca8c15be8e0e7c
Make flat messageview redirect to md5 of messageid

Redirecting to the full messageid pollutes the URL pretty badly. md5 is
not the best of hashes, but the likelihood of getting an md5 collission
on the messageid *within a single thread* is extremely low -- and of
course if it happens the only effect is on the initial scroll of the
window.
django/archives/mailarchives/templates/message_flat.html
django/archives/mailarchives/templatetags/pgfilters.py