shoppersdrugmart.ca content does not load properly with mobile UA

RESOLVED FIXED

Status

Tech Evangelism
Mobile
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: ashughes, Unassigned)

Tracking

({reproducible})

Trunk
reproducible

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [country-ca] [serversniff] [contactready], URL)

(Reporter)

Description

3 years ago
I noticed last night that shoppersdrugmart.ca is loading but not content is rendering with Firefox for Android. I checked on an Asus Transformer tablet and Nexus 5 phone. Neither Firefox 32, 33, and 35 work but the content renders if I use the stock browser or Google Chrome.

I originally reported this to bug 1030523 but that appears to be a different bug.
Switching to an iPhone UA loads the site fine for me.
Component: General → Mobile
Keywords: reproducible
Product: Firefox for Android → Tech Evangelism
Summary: shoppersdrugmart.ca content does not render → shoppersdrugmart.ca content does not load properly with mobile UA
Version: unspecified → Trunk
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 OS is redirected to /en/, Firefox for Android and Safari on iPhone are redirected to http://m.shoppersdrugmart.ca/Home.aspx?lang=en&AgilityChannel=Mobile

Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone):

Response for: 'Mozilla/5.0 (Mobile; rv:29.0) Gecko/29.0 Firefox/29.0'
Response Status: 301
content-length: 0
location: /en/

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 302
content-length: 0
location: http://m.shoppersdrugmart.ca/Home.aspx?lang=en&AgilityChannel=Mobile

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: 0
location: http://m.shoppersdrugmart.ca/Home.aspx?lang=en&AgilityChannel=Mobile
Whiteboard: [country-ca] [serversniff] [contactready]

Comment 3

2 years ago
fixed
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.