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

2021-03-10 Thread pelzflorian (Florian Pelz)
Pushed to maintenance.git as 82b075685b6089c7f98acb0993c003936d833776. Closing. Thank you all!

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

2021-03-08 Thread Ludovic Courtès
Hi, "pelzflorian (Florian Pelz)" skribis: > The attached patch to maintenance.git fixes the remaining minor issue: > Now Accept-Language language codes get normalized, zh to zh-CN, so web > browsers requesting any kind of Chinese get the website in mainland > Chinese. (This is a minor issue.

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

2021-03-05 Thread YLC
Thank you for your help! Everything goes fine now.

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

2021-03-05 Thread pelzflorian (Florian Pelz)
Hello all, On Mon, Mar 01, 2021 at 11:06:59AM +0100, Ludovic Courtès wrote: > Florian, could it be that we’re not normalizing language tags > appropriately? Does that ring a bell? The attached patch to maintenance.git fixes the remaining minor issue: Now Accept-Language language codes get

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

2021-03-04 Thread pelzflorian (Florian Pelz)
On Sat, Feb 27, 2021 at 01:31:40PM +0100, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > I expect that adding it and changing ietf-tags.scm to use "zh-CN" will fix > both 404s, but need to check that it doesn't break anything else. I made the tiny change to guix-artwork’s

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

2021-03-01 Thread pelzflorian (Florian Pelz)
Hello, On Mon, Mar 01, 2021 at 11:06:59AM +0100, Ludovic Courtès wrote: > Florian, could it be that we’re not normalizing language tags > appropriately? Does that ring a bell? Tobias’ analysis likely is correct. I haven’t yet build a current berlin virtual machine to test though. We’re not

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

2021-03-01 Thread Ludovic Courtès
Hello, ylc991 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

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

2021-02-27 Thread Julien Lepiller
It might be related to translations. When you use zh-cn, we have a translation for that language, so you're redirected to it. Not sure why you get a 404 though. Le 26 février 2021 21:18:12 GMT-05:00, ylc991 a écrit : >Hello! My webbrowser has set ‘Accept-Language’ to 'zh-CN,zh' by >default,

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

2021-02-27 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix
Ylc991, Thanks for the report! My verbose notes so far; I need to (finally!) set up a local build of the Web site first. ylc991 写道: Hello! My webbrowser has set ‘Accept-Language’ to 'zh-CN,zh' by default, and https://guix.gnu.org returns 404. Indeed, handling of zh-CN specifically is

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

2021-02-27 Thread ylc991
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. The first time I found it is on 2021-02-23. And it didn't happened about one or two months ago. I