Closed Bug 974797 Opened 6 years ago Closed 5 years ago

shine.com sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: haseeb, Assigned: haseeb, Mentored)

References

()

Details

(Whiteboard: [country-in][serversniff][sitewait])

shine.com isn't redirecting to mobile site
Whiteboard: [country-in] → [country-in][mentor=hsteen]
The shine.com server is configured to redirect mobile browsers to m.shine.com, but fails to do so for all Firefox OS smartphones because not all version numbers are recognised. For example, these two requests differ only in version number (one is from Firefox OS 1.1 and one from Firefox OS 1.4) but only the former is redirected:

GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
Host: www.shine.com

HTTP/1.1 302 Moved Temporarily
Location: http://m.shine.com/

------------------------------------------------------------------
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0
Host: www.shine.com

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

------------------------------------------------------------------

Shine.com should configure the server to not rely on version numbers.
Whiteboard: [country-in][mentor=hsteen] → [country-in][mentor=hsteen][serversniff][contactready]
Contacted Padmini.chetia@hindustantimes.com
Assignee: nobody → Abdulraufhaseeb
Whiteboard: [country-in][mentor=hsteen][serversniff][contactready] → [country-in][mentor=hsteen][serversniff][sitewait]
Tests pass :)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Mentor: hsteen
Whiteboard: [country-in][mentor=hsteen][serversniff][sitewait] → [country-in][serversniff][sitewait]
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.