Backwards-compatibility redirection for localized Atom security feed only works in French
Our download stats are using the following regexp, cf. puppet-tails.git:files/website/tails-website-last-month-stats:
"/${LAST_MONTH_ABBR}/.*\"GET /security/index\.[a-z]{2}\.atom HTTP/[0-9]\.[0-9]\" 200 [0-9]+ \"-\" \"(-|libwww-perl/)" \
In the log of our website, only /security/index.en.atom correspond to a 200 result. All other languages are returning 301.
So I think that our download stats are counting only English sessions.
Did I miss something? If not, since when is this happening?
Also, I get a 404 when trying to fetch anything else than English (for example: https://tails.boum.org/security/index.ru.atom) so maybe the security check itself only works for English sessions. Note that in the logs I don’t see a 404 for each 301, but maybe the security check script doesn’t follow redirections.
Only sysadmins have access to our logs, so I’m assigning this issue for confirmation and triaging to intrigeri who’s the only sysadmin in the foundations team.
Original created by @sajolida on 17001 (Redmine)