Closed
Bug 969844
Opened 11 years ago
Closed 10 months ago
mobile.de sends desktop site to Firefox on Android
Categories
(Web Compatibility :: Site Reports, defect, P2)
Web Compatibility
Site Reports
Tracking
(Webcompat Priority:P2, Webcompat Score:3, firefox138 fixed)
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: sezen.guenes, Assigned: denschub)
References
()
Details
(Keywords: webcompat:needs-contact, webcompat:site-report, webcompat:sitepatch-applied, Whiteboard: [country-de][serversniff][clientsniff][webkitcss][contactready][webcompat:sitepatch-applied][webcompat:sightline])
User Story
platform:android impact:annoyance configuration:general affects:all branch:release user-impact-score:200
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140205162153
Steps to reproduce:
I visited mobile.de with Firefox OS.
Actual results:
I got a Desktop Website.
Expected results:
I expected a Mobile Website.
Comment 1•11 years ago
|
||
| description | ||
This site has multiple issues:
1) Server-side browser detection doesn't detect Firefox OS devices as smartphones. Firefox OS gets redirected to the desktop site:
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
Host: mobile.de
HTTP/1.1 301 Moved Permanently
Location: http://www.mobile.de/
while Firefox for Android gets redirected to the mobile site:
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
Host: www.mobile.de
HTTP/1.1 307 Temporary Redirect
Location: http://m.mobile.de
2) Client-side sniffing sends Firefox for Android back to the desktop site. This happens because the site tries to limit the mobile version to only certain versions of the Android operating system.
function detect(ua){var os={},browser={},webkit=ua.match(/WebKit\/([\d.]+)/),android=ua.match(/(Android)\s+([\d.]+)/);if(webkit)browser.version=webkit[1];browser.webkit=!!webkit;if(android){os.android=true;os.version=android[2];}return{os:os,browser:browser};}
The Firefox User-Agent string does not contain information about the device's Android version.
3) The CSS for the mobile site contains some styling that is webkit-specific and does not have equivalent rules for other devices, for example:
.flexBox {
-webkit-box-align: center;
-webkit-box-pack: justify;
display: -webkit-box;
}
URL: http://mobile.de
Summary: mobile.de sends desktop site to Firefox OS → mobile.de sends desktop site to Firefox OS and Firefox on Android
Whiteboard: [country-de][serversniff][clientsniff][webkitcss][contactready]
Comment 2•11 years ago
|
||
| suggestedfix | ||
The first issue to fix would be adding some equivalents to the Flexbox CSS to make it standards-compliant and cross-browser compatible. See http://www.otsukare.info/2014/01/23/flexbox-converter for tips.
Afterwards, fixing the JavaScript to tolerate devices without Android version in the User-Agent string will solve the issues for Firefox on Android.
Finally, the backend sniffing should recognise that devices with the string "Mobi" or "Mobile" in the User-Agent string can be redirected to the mobile site. This will give users of browsers like Firefox OS and Opera Mini a better user experience.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•11 years ago
|
||
They also have sites
* France http://www.automobile.fr/
* Italy http://www.automobile.it/
* Romania http://www.mobile.de/ro/
* Poland http://www.mobile.de/pl/
They belong to eBay.
I will try to find out if there is a specific team for it.
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Comment 4•11 years ago
|
||
Contacted someone at Ebay
==========
We have identified a series of issues for the Mobile.de family of Web sites which belong to Ebay group. I'm not sure Ebay directly manages these sites. You might be able to tell us who we should contact in this company.
Explanation of the bug in details.
Simple version: http://webcompat.com/simplebug/index.html#mozilla/969844
Geeky version: https://bugzilla.mozilla.org/show_bug.cgi?id=969844
==============
Comment 5•11 years ago
|
||
Thanks for contacting my colleague at Ebay.
These details did reach the correct group responsible for the mobile.de family of web sites. We are tracking this issue.
We will add comments here when the issue status changes, or if there are any questions. Thanks for the detailed bug report!
Comment 6•8 years ago
|
||
This is still an issue, at least fore firefox for android. Any possible updates Jay?
Flags: needinfo?(jay.barker)
Summary: mobile.de sends desktop site to Firefox OS and Firefox on Android → mobile.de sends desktop site to Firefox on Android
Comment 7•7 years ago
|
||
Dennis, let's send a UA spoof for this one.
Assignee: kdubost → dschubert
Priority: -- → P1
Updated•7 years ago
|
Flags: needinfo?(jay.barker)
Updated•7 years ago
|
Flags: needinfo?(dschubert)
| Assignee | ||
Comment 8•7 years ago
|
||
Flags: needinfo?(dschubert)
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [country-de][serversniff][clientsniff][webkitcss][contactready] → [country-de][serversniff][clientsniff][webkitcss][contactready][sitepatch-built]
| Assignee | ||
Comment 9•7 years ago
|
||
Landed in bug 1512907.
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•6 years ago
|
| Assignee | ||
Updated•4 years ago
|
Whiteboard: [country-de][serversniff][clientsniff][webkitcss][contactready][sitepatch-built] → [country-de][serversniff][clientsniff][webkitcss][contactready][webcompat:sitepatch-applied]
Updated•1 year ago
|
Component: Mobile → Site Reports
Comment 10•1 year ago
|
||
Reopening this one, since we're now tracking the status of webcompat issues with interventions differently.
Status: RESOLVED → VERIFIED
Updated•1 year ago
|
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Updated•1 year ago
|
Updated•1 year ago
|
Whiteboard: [country-de][serversniff][clientsniff][webkitcss][contactready][webcompat:sitepatch-applied] → [country-de][serversniff][clientsniff][webkitcss][contactready][webcompat:sitepatch-applied][webcompat:sightline]
Updated•1 year ago
|
Webcompat Priority: --- → P3
| Assignee | ||
Updated•1 year ago
|
Severity: normal → S4
User Story: (updated)
Webcompat Priority: P3 → P2
Webcompat Score: --- → 6
Keywords: webcompat:site-report
Priority: P1 → P2
Updated•11 months ago
|
Webcompat Score: 6 → 3
Comment 11•10 months ago
|
||
The page appears to be sending their mobile layout to Firefox on Android now, so we can remove our intervention.
Comment 12•10 months ago
|
||
Comment 13•10 months ago
|
||
Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9ea3c65f73a
remove our webcompat UA override for mobile.de; r=denschub,webcompat-reviewers
Comment 14•10 months ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 7 years ago → 10 months ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Comment 15•10 months ago
|
||
Verified as FIXED using RC Build fenix android-arm64-v8a
Tested with:
Browser / Version: Firefox 137.0 Build 2016081314
Operating System: Google Pixel 3 (Android 12) -1080 x 2160 pixels, 18:9 ratio (~443 ppi density)
Operating System: Oppo Find X5 (Android 13) - 1080 x 2400 pixels, 20:9 ratio (~402 ppi density)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•