Closed Bug 971576 Opened 8 years ago Closed 6 years ago

montevideo.com.uy sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: hsteen, Unassigned, Mentored)

References

()

Details

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

The site tries to detect what type of device the visitor is using, but fails to discover that Firefox OS devices are smartphones.

HTTP traffic analysis:

Firefox OS gets redirected to index.html, Firefox for Android redirected to app_android.html

Selected HTTP response headers:

Response for: 'Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1'
Response Status: 302
content-length: 138
location: index.html
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: 144
location: app_android.html
content-type: text/html
The detection framework should recognise Firefox OS devices as smartphones, for example by detecting the word "Mobile" in the User-Agent string. By detecting the substring "Mobi" only, even other mobile browsers like Opera Mini will be covered.

The detection should preferably bypass the screen offering an Android app installation and go directly to the mobile-adapted website.
Whiteboard: [country-uy][serversniff][contactready] → [country-uy][serversniff][contactready][mentor=astevenson]
Mentor: astevenson
Whiteboard: [country-uy][serversniff][contactready][mentor=astevenson] → [country-uy][serversniff][contactready]
fixed
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.