Foursquare serves desktop site to Firefox OS

RESOLVED FIXED

Status

defect
RESOLVED FIXED
6 years ago
3 months ago

People

(Reporter: hub, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [serversniff][country-all][sitewait], )

Reporter

Description

6 years ago
Foursquare show desktop site on Firefox OS.

Go to "foursquare.com" on b2g. You get a giant unfriendly web page.

Got to "foursquare.com" on Firefox for Android, you get a mobile stuff with a giant ad for their app download. The login leads to a mobile friendly site.

Comment 1

6 years ago
Thanks Hubert, we're pushing a fix to foursquare to detect Firefox OS and treat it as a mobile device.
Setting to [sitewait] as Mike is here on the ticket.

This is still an issue. Note that with the Firefox for Android ($FFA) UA, you get a 302 to "/download" while you're sent to the desktop page for Firefox OS. I'm not sure we want to end up on the same download page, though... it links to a bunch of native apps.

Is there a simple mobile friendly site?

mtaylor at omg-2
$ http --print=Hh GET https://foursquare.com User-Agent:"$FFA"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: foursquare.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0

HTTP/1.1 302 Found
Cache-Control: no-cache, private, no-store
Connection: keep-alive
Content-Length: 0
Content-Type: text/plain
Date: Thu, 24 Oct 2013 17:45:47 GMT
Expires: Thu, 24 Oct 2013 17:45:47 GMT
Location: /download
Pragma: no-cache
Server: nginx
Set-Cookie: XSESSIONID=fsae218084~1bpatr5y206sn1qbbi1rgqlqej;Path=/;Secure;HttpOnly
Strict-Transport-Security: max-age=864000
Vary: Accept-Encoding,User-Agent,Accept-Language

mtaylor at omg-2
$ http --print=Hh GET https://foursquare.com User-Agent:"$FFOS"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: foursquare.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1

HTTP/1.1 200 OK
Cache-Control: no-cache, private, no-store
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Date: Thu, 24 Oct 2013 17:46:02 GMT
Expires: Thu, 24 Oct 2013 17:46:02 GMT
Pragma: no-cache
Server: nginx
Set-Cookie: XSESSIONID=fsae18086~hmds4d7oftwsw5f56pob07w9;Path=/;Secure;HttpOnly
Set-Cookie: bbhive=5XQTS1UEU1S3CXU2GWASUUI4MGNZMS%3A%3A1382636762; Expires=Sun, 23-Oct-2016 17:46:02 GMT; Path=/; Domain=.foursquare.com
Strict-Transport-Security: max-age=864000
Vary: Accept-Encoding,User-Agent,Accept-Language
X-Drag-Hostname: frontend-7
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
transfer-encoding: chunked
Whiteboard: [serversniff][country-all][sitewait]
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Summary: Foursquare show desktop site on Firefox OS → Foursquare serves desktop site to Firefox OS
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Component: Mobile → Mobile
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.