Skip to content

Website's "add trailing slash" trick is partly broken

Originally created by @intrigeri on #16220 (Redmine)

https://tails.boum.org/news/version_3.11 does not redirect to https://tails.boum.org/news/version_3.11/ so included images (whose path is ./$image.png) are broken. Thankfully, only URLs cooked somewhat manually or clicked from recentchanges and maybe a few other places are affected: I thik URLs we display to the vast majority of users work fine.

It might be that the way this trick was implemented can’t work when a directory of the same name as the page exists, which is necessary the case when we add attachments to said page.

Related issues

  • Related to tails/sysadmin#16124
  • Related to tails/sysadmin#16227
  • Related to #16259 (closed)
  • Has duplicate tails/tails#16219
Edited by intrigeri