Closed Bug 828351 Opened 11 years ago Closed 11 years ago

wp.pl doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

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

wp.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: wp.pl
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-pl]
Server side redirection to m.wp.pl
BUT both Firefox OS and Firefox for Android receive the mobile content.


# Firefox OS

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

HTTP/1.1 302 Found
Connection: close
Content-Length: 0
Content-type: text/html
Location: http://m.wp.pl
Server: aris
Set-Cookie: statid=5a51de4d2bd65e54457f3345481d26fb:33273d:1376079860:v3; path=/; expires=Mon, 08-Aug-16 20:24:20 GMT
Set-Cookie: statid=5a51de4d2bd65e54457f3345481d26fb:33273d:1376079860:v3; domain=.wp.pl; path=/; expires=Mon, 08-Aug-16 20:24:20 GMT

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

HTTP/1.1 200 OK
Cache-Control: no-cache
Connection: close
Content-Encoding: gzip
Content-Length: 20314
Content-type: text/html; charset=UTF-8
Expires: Fri, 09 Aug 2013 20:24:53 GMT
Last-Modified: Fri, 09 Aug 2013 20:24:53 GMT
Pragma: no-cache
Server: aris
Set-Cookie: reksticket=1376079893; expires=Sun, 11-Aug-2013 20:24:53 GMT; path=/; domain=.www.wp.pl
Set-Cookie: rekticket=1376079893; expires=Sun, 11-Aug-2013 20:24:53 GMT; path=/; domain=.wp.pl
Set-Cookie: WP-cookie-info=1; expires=Sat, 09-Aug-2014 20:24:53 GMT; path=/; domain=wp.pl
Set-Cookie: statid=fca53c58602507d991b0ac5e09c7740d:f15207:1376079893:v3; path=/; expires=Mon, 08-Aug-16 20:24:53 GMT
Set-Cookie: statid=fca53c58602507d991b0ac5e09c7740d:f15207:1376079893:v3; domain=.wp.pl; path=/; expires=Mon, 08-Aug-16 20:24:53 GMT

# Firefox for Android

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

HTTP/1.1 302 Found
Connection: close
Content-Length: 0
Content-type: text/html
Location: http://m.wp.pl
Server: aris
Set-Cookie: statid=8e8e19c1476ff3b13ce620b34b2561b8:afd9ca:1376079926:v3; path=/; expires=Mon, 08-Aug-16 20:25:26 GMT
Set-Cookie: statid=8e8e19c1476ff3b13ce620b34b2561b8:afd9ca:1376079926:v3; domain=.wp.pl; path=/; expires=Mon, 08-Aug-16 20:25:26 GMT

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

HTTP/1.1 200 OK
Cache-Control: no-cache
Connection: close
Content-Encoding: gzip
Content-Length: 20592
Content-type: text/html; charset=UTF-8
Expires: Fri, 09 Aug 2013 20:25:46 GMT
Last-Modified: Fri, 09 Aug 2013 20:25:46 GMT
Pragma: no-cache
Server: aris
Set-Cookie: reksticket=1376079946; expires=Sun, 11-Aug-2013 20:25:46 GMT; path=/; domain=.www.wp.pl
Set-Cookie: rekticket=1376079946; expires=Sun, 11-Aug-2013 20:25:46 GMT; path=/; domain=.wp.pl
Set-Cookie: WP-cookie-info=1; expires=Sat, 09-Aug-2014 20:25:46 GMT; path=/; domain=wp.pl
Set-Cookie: statid=ddb6d57af42aaa9fd6cc207c4c7d8642:034c29:1376079946:v3; path=/; expires=Mon, 08-Aug-16 20:25:46 GMT
Set-Cookie: statid=ddb6d57af42aaa9fd6cc207c4c7d8642:034c29:1376079946:v3; domain=.wp.pl; path=/; expires=Mon, 08-Aug-16 20:25:46 GMT
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-pl] → [uaoverride] [country-pl] [serversniff]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Blocks: 902604
Blocks: 907161
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.