Closed Bug 993857 Opened 10 years ago Closed 8 years ago

tn.gov.in sends desktop site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: haseeb, Unassigned, Mentored)

References

()

Details

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

      No description provided.
This site has a simplified mobile version, but it does not consistently send mobile and smartphone browsers to this version. Firefox on Android, Firefox OS smartphones, even Chrome on Android get the desktop site instead of the simplified mobile site.

To see how the browser detection logic works, here is some HTTP traffic analysis. Compare the Content-length of the response for Chrome on Android and Safari on iPhone - first Chrome:

Mozilla/5.0 (Linux; Android 4.2.2; HTC One X Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36

HTTP/1.1 200 OK
Date: Fri, 11 Apr 2014 10:52:25 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 31185

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

HTTP/1.1 200 OK
Date: Fri, 11 Apr 2014 10:43:32 GMT
Content-Length: 6921
Content-Type: text/html; charset=utf-8

The site should consistently send mobile browsers the mobile content.
Whiteboard: [country-in2] → [country-in][mentor=hsteen][serversniff][contactready]
Mentor: hsteen
Whiteboard: [country-in][mentor=hsteen][serversniff][contactready] → [country-in][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.