Closed Bug 828378 Opened 9 years ago Closed 8 years ago

wyborcza.pl doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Assigned: adamopenweb)

References

()

Details

(Whiteboard: [uaoverride] [country-pl] [serversniff] [sitewait])

wyborcza.pl serves a desktop site to B2G. Bug 823364 added an UA override for this domain. The override should be removed once the domain serves mobile content to B2G. This bug tracks the evangelism for the site to recognize the B2G UA and the removal of the override at that time.
Blocks: wyborcza.pl
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-pl]
Server side detection and redirection to the mobile site.

To be contacted.


# Firefox for Android

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: wyborcza.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Content-Length: 235
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 19:57:18 GMT
Location: http://wyborcza.pl/0,0.html
Server: Apache

GET /0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: wyborcza.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Content-Length: 237
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 19:57:36 GMT
Location: http://m.wyborcza.pl/0,0.html
Server: Apache

GET /0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: m.wyborcza.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Connection: close
Content-Length: 246
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 20:02:59 GMT
Location: http://m.wyborcza.pl/wyborcza/0,0.html
Server: Apache

GET /wyborcza/0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: m.wyborcza.pl
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Connection: close
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Fri, 09 Aug 2013 20:03:25 GMT
P3P: CP="NOI DSP COR NID DEV PSA OUR IND UNI"
Server: Apache
Set-Cookie: MINI_SID=wGlQSFLNLh3tQzkpZxPkXvZtLHVcpJVtrYgnhMjXMRT59g2Mh5SD!-930552811; path=/; HttpOnly
Set-Cookie: test=66A130A24A10k1376078605888; domain=.wyborcza.pl; expires=Sun, 09-Aug-2015 20:03:25 GMT; path=/
Transfer-Encoding: chunked
Vary: User-Agent,Accept-Encoding
X-Powered-By: Servlet/2.5 JSP/2.1
X-Server-Name: (null)

# Firefox OS

GET /0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: wyborcza.pl
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Language: pl
Content-Type: text/html; charset=iso-8859-2
Date: Fri, 09 Aug 2013 19:58:36 GMT
P3P: CP="NOI DSP COR NID PSAo OUR IND"
Server: Apache
Set-Cookie: GW_SID=Q1DWSFJMwwKzq9F3dhNlZVPVYJ2G4npqY8W3c4tSJM0PzBJcGYZP!-1305723332; path=/; HttpOnly
Set-Cookie: test=66A130A24A10k1376078316372; expires=Sun, 09-Aug-2015 19:58:36 GMT; path=/
Transfer-Encoding: chunked
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1
X-Server-Name: (null)_serwisy
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-pl] → [uaoverride] [country-pl] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-pl] [serversniff] → [uaoverride] [country-pl] [serversniff] [contactready]
Site is run by Agora http://www.agora.pl. I've reached out on anther bug, making this bug dependent.
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Depends on: 828354
Whiteboard: [uaoverride] [country-pl] [serversniff] [contactready] → [uaoverride] [country-pl] [serversniff] [sitewait]
Looks to be fixed as well. Getting redirected to mobile site on device with UA override disabled. Possibly switched to a client sniff as headers come out on FFOS and FFAndroid as:

http -h GET http://wyborcza.pl/0,0.html User-Agent:'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html
Date: Wed, 23 Apr 2014 14:53:53 GMT
Server: ngx_openresty
Transfer-Encoding: chunked
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 995831
See Also: → 1023977
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.