Subject: Re: bug#46807: [website] return 404 with HTTP header 'Accept-Language: zh-CN, zh'

From: Ludovic Courtès <[email-masked]>
Date: Mon, 01 Mar 2021 11:06:59 +0100

Hello,

ylc991 <[email-masked]> skribis:

> Hello! My webbrowser has set ‘Accept-Language’ to 'zh-CN,zh' by default, and https://guix.gnu.org returns 404. I have tested with curl, 'zh-CN,zh', 'zh-CN',
> 'zh-cn' is 404 while 'zh', 'zh_CN' is 200.

Florian, could it be that we’re not normalizing language tags
appropriately?  Does that ring a bell?

Thanks for your report!

Ludo’.