Closed Bug 1099553 Opened 10 years ago Closed 6 years ago

odnoklassniki.ru sends desktop site to Firefox Android

Categories

(Web Compatibility :: Site Reports, defect, P1)

All
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lakostis, Unassigned)

References

()

Details

(Whiteboard: [country-ru] [serversniff] [contactready] [platform-rel-Odnoklassniki])

Possibly they need to fix the browser detection logic.
This site intends to send mobile browsers to a mobile site, but doesn't know that Firefox OS devices are smartphones. Hence the browser on Firefox OS phones get desktop content instead of mobile. Same problem affects Firefox on Android.

The HTTP traffic analysis below shows how the sniffing works:


Safari on iPhone is redirected to http://m.ok.ru/, Firefox OS and Firefox on Android are not redirected

Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone):

Response for: 'Mozilla/5.0 (Mobile; rv:29.0) Gecko/29.0 Firefox/29.0'
Response Status: 200
content-length: 40911
content-type: text/html;charset=UTF-8

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 200
content-length: 40911
content-type: text/html;charset=UTF-8

Response for: 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25'
Response Status: 302
content-length: 0
location: http://m.ok.ru/
Whiteboard: [country-ru] → [country-ru] [serversniff] [contactready]
redirects now to http://ok.ru
Happening on Firefox Android, Chrome receives a mobile site.
In accordance to https://groups.google.com/d/msg/mozilla.compatibility/OHsR590ExWs/W3ohc41tFAAJ
Requalifying the bug, the issue is happening on Firefox Android too.
OS: Gonk (Firefox OS) → Android
Priority: -- → P5
Still the same issue.

This is a sub-company belonging to https://corp.mail.ru/en/
Can be probably contacted at supprot@corp.mail.ru
Summary: odnoklassniki.ru sends desktop site to Firefox OS → odnoklassniki.ru sends desktop site to Firefox Android
platform-rel: --- → ?
Whiteboard: [country-ru] [serversniff] [contactready] → [country-ru] [serversniff] [contactready] [platform-rel-Odnoklassniki]
platform-rel: ? → ---
Priority: P5 → P4
We should add a mobile UA override for this, this is the #7 site in Russia, and it still reproduces.
Flags: needinfo?(dschubert)
Priority: P4 → P1
This was fixed by the site, now redirecting to https://m.ok.ru/ in Fennec.

We were tracking this bug on Webcompat.com as well:
https://webcompat.com/issues/14388
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(dschubert)
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.