Closed Bug 1004971 Opened 9 years ago Closed 9 years ago

scoop.it sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: haseeb, Assigned: feer56)

References

()

Details

(Whiteboard: [country-in][mentor=hsteen][serversniff][sitewait])

      No description provided.
This site intends to send mobile browsers to a mobile site, but doesn't know that Firefox OS devices are smartphones. Hence the browser on Firefox OS phones get desktop content instead of mobile.

The HTTP traffic analysis below shows how the sniffing works - all browsers stay on the same URL, but the length of the code returned is different.

Smallest response has Content-Length: 36275 (sent to iPhone, mobile content), largest response has Content-Length: 49684


Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone):

Response for: 'Mozilla/5.0 (Mobile; rv:30) Gecko/30 Firefox/30'
Response Status: 200
content-length: 49684
content-type: text/html;charset=UTF-8

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 200
content-length: 49684
content-type: text/html;charset=UTF-8

Response for: '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'
Response Status: 200
content-length: 36275
content-type: text/html;charset=UTF-8
Whiteboard: [country-in] → [country-in][mentor=hsteen][serversniff][contactready]
Site has been contacted via form on main page at http://www.scoop.it/contact

If we do not hear back, we could try contacting them via the 'contact support' button on http://feedback.scoop.it/
Assignee: nobody → feer56
Whiteboard: [country-in][mentor=hsteen][serversniff][contactready] → [country-in][mentor=hsteen][serversniff][sitewait]
Hi there,

I'm Jean-Baptiste, leading the mobile development @scoop.it
Thanks for opening this issue. 
Sorry for not considering Firefox OS as mobile device, it's quite new, but I will resolve as soon as possible. 
Which user agent Firefox OS is using?
Hi Jean-Baptiste, welcome around here :)
You see one example of the Firefox OS UA string above in comment #1, note that the version number may change. We think a pretty robust detection is to just consider a UA string that contains "Mobi" a mobile browser. This will also include browsers like Opera Mobile.

Thanks for working on it and we look forward to the fix! Happy to credit you on Twitter when done ;)
The scoop.it test passes, site is indeed fixed. Thank you Jean-Baptiste! :)
Status: NEW → RESOLVED
Closed: 9 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.