Closed Bug 1005286 Opened 10 years ago Closed 10 years ago

eldefinido.cl sends desktop site to Firefox OS and Firefox for Android

Categories

(Web Compatibility :: Site Reports, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Assigned: psep.pentauc, Mentored)

References

()

Details

(Whiteboard: [country-cl][serversniff][contactready])

Attachments

(1 file)

This site intends to send mobile content to mobile browsers, however it doesn't detect Firefox OS devices as smartphones and sends desktop content instead. The HTTP traffic analysis below shows how the server-side browser logic works.

Safari on iPhone is redirected to /movil/portada/, Firefox OS and Firefox on Android are not redirected

Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone) when requesting www.eldefinido.cl/portada/ :

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

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

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: 87870
location: /movil/portada/
content-type: text/html
Attached image comparison screenshot
Assignee: nobody → psep.pentauc
Mentor: hsteen
Whiteboard: [country-cl][serversniff][contactready][mentor=hsteen] → [country-cl][serversniff][contactready]
Congratulations Pablo - seems to work now :)
Can you verify?
Status: NEW → RESOLVED
Closed: 10 years ago
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.

Attachment

General

Created:
Updated:
Size: