Closed Bug 993863 Opened 11 years ago Closed 7 years ago

nseindia.com sends desktop site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: haseeb, Assigned: karlcow)

References

()

Details

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

No description provided.
They're doing detection on the server side, based on user agent string. Firefox for Android also receives the desktop site, while an iPhone UA gets a mobile site (though pretty basic): http://www.nseindia.com/wap/index.jsp mtaylor at omg-2 in ~/dev/compat/fxheaders $ http --print=Hh GET http://nseindia.com/ User-Agent:"$FFA" GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: nseindia.com User-Agent: Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0 HTTP/1.1 200 OK Connection: keep-alive Content-Encoding: gzip Content-Length: 14149 Content-Type: text/html Date: Thu, 10 Apr 2014 19:30:30 GMT ETag: W/"126b5-53429877" Last-Modified: Mon, 07 Apr 2014 12:22:15 GMT Server: Oracle-iPlanet-Web-Server/7.0 Vary: accept-encoding vs. mtaylor at omg-2 in ~/dev/compat/fxheaders $ http --print=Hh GET http://nseindia.com/ User-Agent:"$IOS" GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: nseindia.com User-Agent: 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 301 Moved Permanently Connection: keep-alive Content-Length: 0 Date: Thu, 10 Apr 2014 19:30:20 GMT Location: http://www.nseindia.com/wap/index.jsp Server: AkamaiGHost We should ask them to send Firefox mobile browsers to the mobile site as well. Note that Chrome Mobile doesn't get the mobile site either.
Whiteboard: [country-in2] → [country-in][serversniff][contactready]
Yes confirmed. It seems only iOS devices receive the mobile version. It is actually a good candidate for webcompat.com. They seem to interact on their twitter account. Let's see. http://twitter.com/MozWebCompat/status/501559734462197760
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [country-in][serversniff][contactready] → [country-in][serversniff][sitewait]
Rha. It seems I sent to the wrong twitter account the first time. Let's try again. https://twitter.com/MozWebCompat/status/579799022107398145
We got a dialog opening. For NSEIndia The Web site currently sends the desktop version of the content to Firefox OS and Firefox Android. How to Fix: Firefox Android: Mozilla/5.0 (Android; Mobile; rv:36.0) Gecko/36.0 Firefox/36.0 Firefox OS: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0 You may want to identify in lowercase the string "mobi" (and exclude "ipad" if you prefer ipad to receive the desktop version) Thanks.
Switching to needscontact again
Whiteboard: [country-in][serversniff][sitewait] → [country-in][serversniff][needscontact]
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
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.