Freeze `rv:` segment in the User Agent string to `rv:109.0` to avoid erroneous IE11 detection
Categories
(Web Compatibility :: Interventions, defect, P1)
Tracking
(firefox-esr102 unaffected, firefox108 unaffected, firefox109 unaffected, firefox110blocking fixed)
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox108 | --- | unaffected |
firefox109 | --- | unaffected |
firefox110 | blocking | fixed |
People
(Reporter: denschub, Assigned: denschub)
References
()
Details
Attachments
(2 files)
As per this investigation, it looks like there is a server-side UA sniffing issue on bestbuy.com - which can be worked around by capping the version number to 109. So let's prepare to do that, as we can always back that intervention out if our outreach succeeds.
Note that this might also be relevant on bestbuy.ca
and potentially other ccTLDs.
Comment 1•1 year ago
|
||
I can reproduce this bug with Firefox versions 110-119 on Windows. Versions >= 120 work fine.
With a Firefox 110 on Linux I cannot reproduce the Bestbuy problem, but I came across one on another website: https://www.bilibili.com/read/cv14753471
Let me pick the piece of code at the head of this page that causes the chaos:
0 < navigator.userAgent.indexOf('rv:11')
I guess it's trying to detect IE 11 since IE 11 user agent also contains the string "rv:11":
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko
Comment 3•1 year ago
|
||
Here's another one on cvs.com: https://webcompat.com/issues/115559
Comment 4•1 year ago
|
||
[Tracking Requested - why for this release]:
I believe that this set of issues should be at least an S2 for the Firefox product, and should block Release.
These issues with these mainstream websites will definitely push users away from Firefox.
Comment 5•1 year ago
|
||
Affected:
navigator.userAgent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:110.0) Gecko/20100101 Firefox/110.0"
Unaffected:
navigator.userAgent
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36'
Updated•1 year ago
|
Comment 6•1 year ago
|
||
https://github.com/webcompat/web-bugs/issues/115403 this is a major site in France, affected by the same issue. I suspect this is the tip of the iceberg.
Comment 7•1 year ago
|
||
The bug is marked as blocking firefox110 (nightly). However, the bug still isn't assigned.
:denschub, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Assignee | ||
Comment 9•1 year ago
|
||
I have tested the known breakage on webcompat.com, as well as bilibili.com, and can confirm that with Gijs' patch, I no longer get blocked. I cannot test leboncoin.fr
as they're locking my VPN and my home's static IP out because apparently I'm a robot - but from the testing that Raul did in the report, I'm confident that this fixes the issue as well.
Gijs, I noticed that the current version says rv:110.0
with a minor-version, but your patch only shows rv:109
, without minor version. Would it be possible to have it say rv:109.0
instead? I didn't notice any breakage because of that difference, but let's stay on the safe side.
Assignee | ||
Comment 10•1 year ago
|
||
Adjusting the bug title to reflect what we're currently planning to do.
Comment 11•1 year ago
|
||
(In reply to Dennis Schubert [:denschub] from comment #9)
Gijs, I noticed that the current version says
rv:110.0
with a minor-version, but your patch only showsrv:109
, without minor version. Would it be possible to have it sayrv:109.0
instead? I didn't notice any breakage because of that difference, but let's stay on the safe side.
Ugh, yes, good catch, I should have done that to begin with. Updated the patch. New trypush.
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c7d69ab92660 cap rv: bits in User Agent string to 109 because some sites detect IE11 based on rv:11*, r=necko-reviewers,kershaw
Comment 13•1 year ago
|
||
Comment 14•1 year ago
|
||
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a186000b3a89 keep android the same because the issue doesn't occur there and its tests are unhappy. CLOSED TREE
Comment 15•1 year ago
|
||
(In reply to Dennis Schubert [:denschub] from comment #9)
I have tested the known breakage on webcompat.com, as well as bilibili.com, and can confirm that with Gijs' patch, I no longer get blocked. I cannot test
leboncoin.fr
as they're locking my VPN and my home's static IP out because apparently I'm a robot - but from the testing that Raul did in the report, I'm confident that this fixes the issue as well.Gijs, I noticed that the current version says
rv:110.0
with a minor-version, but your patch only showsrv:109
, without minor version. Would it be possible to have it sayrv:109.0
instead? I didn't notice any breakage because of that difference, but let's stay on the safe side.
I can confirm the fix for leboncoin.fr, on both mobile and desktop.
Comment 16•1 year ago
|
||
(In reply to Raul Bucata from comment #15)
(In reply to Dennis Schubert [:denschub] from comment #9)
I have tested the known breakage on webcompat.com, as well as bilibili.com, and can confirm that with Gijs' patch, I no longer get blocked. I cannot test
leboncoin.fr
as they're locking my VPN and my home's static IP out because apparently I'm a robot - but from the testing that Raul did in the report, I'm confident that this fixes the issue as well.Gijs, I noticed that the current version says
rv:110.0
with a minor-version, but your patch only showsrv:109
, without minor version. Would it be possible to have it sayrv:109.0
instead? I didn't notice any breakage because of that difference, but let's stay on the safe side.I can confirm the fix for leboncoin.fr, on both mobile and desktop.
leboncoin.fr actually fixed their UA sniffing probably because multiple nightly users alerted them on Twitter about it, it works with rv:110 as well.
Comment 17•1 year ago
|
||
bugherder |
Description
•