Closed Bug 1019663 Opened 10 years ago Closed 6 years ago

edarling.mx sends desktop site to Firefox OS

Categories

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

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hsteen, Unassigned)

References

()

Details

(Whiteboard: [country-mx][mbd][serversniff][contactready])

Attachments

(1 file)

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.

The HTTP traffic analysis below shows how the sniffing works:

Firefox Android redirected to https://m.edarling.mx, Firefox OS not redirected

Selected HTTP response headers:

Response for: 'Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1'
Response Status: 200
content-length: 7137
content-type: text/html

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 302
content-length: 20
location: https://m.edarling.mx
content-type: text/html
The test was saying it is fixed (8 days ago), but it's not. 
Though the test is good. Strange.

◀︎ hasViewportMeta() && location.hostname === "m.edarling.mx"
▶︎ false


→ http --print hH http://www.edarling.mx/ 'User-Agent:Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0'
GET / HTTP/1.1

Accept: */*
Accept-Encoding: gzip, deflate
Host: www.edarling.mx
User-Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0

HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 7197
Content-Type: text/html
Date: Thu, 26 Feb 2015 06:31:20 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Last-Modified: Thu, 27 Nov 2014 14:39:30 CET
Marvin: RW_3_1_P0_T153
P3P: policyref="http://www.edarling.mx/w3c/p3p.xml", CP="NOI NID ADMa DEVa PSAa OUR BUS ONL UNI COM STA OTC"
Pragma: no-cache
Server: Apache
Set-Cookie: rws=jts6ucqoa20k34a4m3l78colq1; path=/
Set-Cookie: CID=value%3DMX_DTI_0_0_0_0%7Cdate%3D20150226073120; expires=Sat, 06-Jun-2015 06:31:20 GMT; path=/; domain=edarling.mx
Set-Cookie: c=1; path=/; domain=.www.edarling.mx
Vary: Accept-Encoding
X-Server: http2
X-Server: mx
Flags: needinfo?(hsteen)
Maybe a temporary glitch? Test fails fine here now.
Flags: needinfo?(hsteen)
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
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.

Attachment

General

Created:
Updated:
Size: