Closed Bug 973354 Opened 8 years ago Closed 6 years ago

NHL.com serves desktop content to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adamopenweb, Unassigned, Mentored)

References

()

Details

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

NHL.com is using server side user agent detection to determine if a user is browsing using a desktop or mobile client. Unfortunately the site is not properly detecting the user agent string for Firefox OS. This is causing Firefox OS browsers to be redirected to the desktop version of the website rather than mobile.

Firefox for Android:
http -h GET http://www.nhl.com User-Agent:'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 0
Date: Sun, 16 Feb 2014 18:10:21 GMT
Location: http://www.nhl.com/ice/m_home.htm
Server: AkamaiGHost

Firefox OS:
http -h GET http://www.nhl.com User-Agent:'Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, max-age=48
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 20497
Content-Type: text/html; charset=utf-8
Cteonnt-Length: 75414
Date: Sun, 16 Feb 2014 18:10:31 GMT
ETag: W/"b9a5db5-12696-4f289f3aaf88b"
Last-Modified: Sun, 16 Feb 2014 18:10:19 GMT
Server: Apache
Whiteboard: [country-all] [serversniff] [contactreay]
Whiteboard: [country-all] [serversniff] [contactreay] → [country-all] [serversniff] [contactready]
Whiteboard: [country-all] [serversniff] [contactready] → [country-all] [serversniff] [contactready][mentor=astevenson]
Mentor: astevenson
Whiteboard: [country-all] [serversniff] [contactready][mentor=astevenson] → [country-all] [serversniff] [contactready]
fixed
Status: NEW → RESOLVED
Closed: 6 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.