webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
747 stars 67 forks source link

bestbuy.com - french and Japanese users are prevented to log in #142261

Open karlcow opened 1 month ago

karlcow commented 1 month ago

URL: https://bestbuy.com/

Browser / Version: Safari 18.2 Operating System: Mac OS X 10.15.7 Tested Another Browser: Yes Firefox

Problem type: Site is not usable Description: Unable to login Steps to Reproduce: When a user is trying to log in on the bestbuy.com website with Safari set as Japanese (Accept-Language: ja) or French-France (Accept-Language: fr-FR), the login is not working.

While at the same time this is working for Chrome and Firefox. Also some other languages will be accepted, even things such as French-Canada

Safari:

PASS Accept-Language: en-US,en;q=0.9
PASS Accept-Language: pt-BR,pt;q=0.9
PASS Accept-Language: fr-CA,fr;q=0.9

FAIL Accept-Language: fr-FR,fr;q=0.9
FAIL Accept-Language: ja

Firefox:

PASS Accept-Language: en-US,en;q=0.8,fr-FR;q=0.5,ja;q=0.3
PASS Accept-Language: fr-FR
PASS Accept-Language: ja

We also tried with Safari and overriding the User-Agent to be Firefox.

Not working:

And it fails on Firefox with a Safari UA override.

bestbuy.com doesn't send a spanish speaking version of the site to users with Accept-Language: es-US,es-419;q=0.9,es;q=0.8

So we can probably test a Accept-Language override in English without issues. I'm planning to create a Quirk in WebKit code, except if the outreach is working here. https://bugs.webkit.org/show_bug.cgi?id=280666

Browser Configuration
  • None

From webcompat.com with ❤️

karlcow commented 1 month ago

@BestBuy and @BestBuyAPIs are on github. I wonder if someone like @Flet could put us in contact with the right persons at BestBuy so the @WebKit team doesn't have to create a hack.