Closed Bug 1080743 Opened 10 years ago Closed 8 years ago

shoppersdrugmart.ca content does not load properly with mobile UA

Categories

(Web Compatibility :: Site Reports, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: u279076, Unassigned)

References

()

Details

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

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]
fixed
Status: NEW → RESOLVED
Closed: 8 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.