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

Edited by intrigeri
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information