Closed Bug 979797 Opened 6 years ago Closed 5 years ago
.com sends desktop site to Firefox OS
The cinesunidos.com site has several ways to delivers the content: there is one website for desktop computers, one app for Android, one for iPhone, and a very basic but usable mobile site. The site tries to detect devices and redirect to offer either apps or mobil site to mobile browsers. Unfortunately, it fails to detect Firefox OS devices correctly. For example, Firefox Android is redirected to http://pda.cinesunidos.com/android.asp, Firefox OS is not redirected but says on the Desktop page. Selected HTTP response headers that demonstrate how the detection works: Response for: 'Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1' Response Status: 200 content-length: 379 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: 159 location: http://pda.cinesunidos.com/android.asp content-type: text/html
The site already detects the text "Android" and "iOS" to redirect to pages offering the corresponding apps. The site can simply add the following logic after those redirects: if the User-Agent header contains the text "Mobi", go directly to the mobile portal.
This bug is now fully analysed and anyone in the Mozilla community is welcome to reach out (politely! ;)) to cinesunidos.com. You can use this letter template or tweet: https://wiki.mozilla.org/Compatibility/StdLetters#Spanish and also include this URL: http://webcompat.com/simplebug/#mozilla/979797 to give the site's webmaster a quick overview of the bug. If you contact the site, please assign the bug to yourself and change "[contactready]" to "[sitewait]" in the box named "Whiteboard" (ask me if you can't change it). Thank you!
This is fixed.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.