Closed Bug 974170 Opened 8 years ago Closed 4 years ago

nissanusa.com & nissan.ca send desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: adamopenweb, Unassigned, Mentored)

References

()

Details

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

Nissanusa.com & nissan.ca are 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.

Nissanusa.com

Firefox Android is routed properly to mobile:
http -h GET http://www.nissanusa.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
Location: http://m.nissanusa.com/?original_path=/&

Firefox OS goes to desktop site:
http -h GET http://www.nissanusa.com User-Agent:'Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'

HTTP/1.1 200 OK
Content-Length: 14838
Content-Type: text/html; charset=UTF-8

Same for Nissan.ca

Firefox Android:
http -h GET http://www.nissan.ca 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
Location: http://m.nissan.ca/?

Firefox OS:
http -h GET http://www.nissan.ca User-Agent:'Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'

HTTP/1.1 200 OK
Content-Length: 1383
Content-Type: text/html;charset=UTF-8
Whiteboard: [country-all] [serversniff] [contactreay]
Whiteboard: [country-all] [serversniff] [contactreay] → [country-all] [serversniff] [contactready]
Same problem from the US.
Whiteboard: [country-all] [serversniff] [contactready] → [country-all] [serversniff] [contactready][mentor=astevenson]
Mentor: astevenson
Whiteboard: [country-all] [serversniff] [contactready][mentor=astevenson] → [country-all] [serversniff] [contactready]
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.