Closed Bug 1005122 Opened 11 years ago Closed 11 years ago

larojadeportes.cl sends desktop site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Assigned: lourcastillo)

References

()

Details

(Whiteboard: [country-cl][serversniff][sitewait][mentor=hsteen])

Attachments

(2 files)

Attached image comparison screenshot
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. Observe the different Content-Length for these HTTP traffic responses - evidence of the backend browser sniffing: Response for Firefox OS (User-Agent: Mozilla/5.0 (Mobile; rv:30) Gecko/30 Firefox/30): HTTP/1.1 200 OK Content-Type: text/html;charset=UTF-8 Content-Length: 35376 Response for Firefox on Android (User-Agent: Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0): HTTP/1.1 200 OK Content-Type: text/html;charset=UTF-8 Content-Length: 31966 ------------------------------------------------------------------
Assignee: nobody → lourdeslcastilloa
I sent an email to info@larojadeportes.cl
Delivery to the following recipient failed permanently: info@larojadeportes.cl Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain larojadeportes.cl by b2547988f7fe46aaa711acf940d678.pamx1.hotmail.com. [65.54.188.109]. The error that the other server returned was: 550 Requested action not taken: mailbox unavailable ----- Original message ----- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; bh=1LtMDWL3b9qHUNzB9IneKjrwetMu4LvprWGM6dq97YE=; b=q4VrA59nxrpz0XhQN/eWWody5+z0fMA7GvkUWjyOogJyfsXXI91TE8+hMxpVY7OnIi Dykto/AQlzrhnATliNw5w7vor864W9cKikeVH7NTnKRaUC+wndF0mc9V9Ti+ntYz4UAM K0TMJnYPom5zeR5vtIDpkxpt4hg1Hn0ymBIsS/n0agzT+l9mdEd7VAmqeQIcj/bNLmNR +CzPEBKczlTs28L2GgMuupo+Ijy2lr6HERsRVNl6jqnNEBNu9bfg1kABuHC8Vb9UizD4 RIyxhHun+fc11NJ909IzSKaq7ifhYHS2spLIZVGE6JrCD4FNAWDJ073C2UazU9xPhA6J Gj6w== X-Received: by 10.180.84.226 with SMTP id c2mr10023189wiz.50.1399177239060; Sat, 03 May 2014 21:20:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.0.193 with HTTP; Sat, 3 May 2014 21:20:18 -0700 (PDT) Reply-To: lourdeslcastilloa@gmail.com From: Lourdes Castillo <lourdeslcastilloa@gmail.com> Date: Sun, 4 May 2014 00:20:18 -0400 Message-ID: <CADPE+Vos1TffNjzHZbXEjNCo5sRv8oh8LvpH=c9g5v0xbNrK6A@mail.gmail.com> Subject: Problema de compatibilidad Web To: info@larojadeportes.cl Content-Type: multipart/alternative; boundary=f46d044280de4fea9504f88b5633
Again, I sent an email to Beatriz Trennert: beatriz@femnet.cl with cc to Carol Kast: carol@femnet.cl from contact: http://www.larojadeportes.cl/publicidad-y-contacto/
Jimena Troncoso Osmer President & CEO, Director at DSP FEMNET.CL, FACEMAMA, Online technology Latam entrepreneur. cl.linkedin.com/pub/jimena-troncoso-osmer/b/919/7aa She doesn't seem very active on twitter, but maybe. https://twitter.com/Jimena_Troncoso @Jimena_Troncoso
Whiteboard: [country-cl][serversniff][contactready][mentor=hsteen] → [country-cl][serversniff][sitewait][mentor=hsteen]
Attached image 2014-05-05-14-40-13.png
Lourdes, I did some testing with Firefox OS simulator, I modified the code of the site, and apparently is now running this detection system (you may have to delete cookies to re-detect the device). I you comment please any detail. regards, Rodrigo Vera Samson WebDeveloper | WebMaster Tel: (56 2) 9464191 rodrigo@larojadeportes.cl Old Guard of 255. 611 - Providencia
I sent an email to Rodrigo: rodrigo@larojadeportes.cl
Hm.. Doesn't seem to work yet here. Testing on several phones, I only get the desktop site. The server-side detection should make sure it doesn't depend on specific version numbers in the UA string. For example, some phones might ship with this version: User-Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0 while some might ship with or be upgraded to User-Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 The simplest way is to just look for "Mobile" or "Mobi" in the UA string.
Test passes - congratulations, Lourdes, they fixed it! :)
Status: NEW → RESOLVED
Closed: 11 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: