Closed Bug 878226 Opened 12 years ago Closed 12 years ago

bet365.com 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 FIXED

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

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

bet365.com 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: bet365.com
Whiteboard: [uaoverride]
On ZTE device (Firefox OS) without UA override, we get http://www.bet365.com/en/ (Desktop content) On ZTE device (Firefox OS) with UA override (and **erasing cookies**), we get http://mobile.bet365.com/premium/ (Mobile content) Same for Firefox for Android on Samsung. If the server side recognizes Firefox OS, the site works perfectly on Firefox OS User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 # Firefox OS HEAD / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.bet365.com User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 302 Object moved Cache-Control: no-store, no-cache Cache-Control: no-store Cache-control: private Content-Length: 146 Content-Type: text/html; Charset=UTF-8 Date: Thu, 01 Aug 2013 17:00:17 GMT Location: http://www.bet365.com/en/ Pragma: no-cache Pragma: no-cache Set-Cookie: aps03=cg=0&cst=79&ct=36&lng=1; expires=Mon, 31-Jul-2023 23:00:00 GMT; path=/ Set-Cookie: session=stk=19CF4FAA45144EBFBE5EBE72041216D2000003; path=/ Set-Cookie: stk=19CF4FAA45144EBFBE5EBE72041216D2000003; path=/ Set-Cookie: rmbs=3; expires=Sat, 01-Feb-2014 00:00:00 GMT; path=/ X-Powered-By: ASP.NET HEAD /en/ HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.bet365.com User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 200 OK Cache-Control: no-store, no-cache Cache-Control: no-store Cache-control: private Content-Length: 30125 Content-Type: text/html; Charset=UTF-8 Date: Thu, 01 Aug 2013 17:00:49 GMT Pragma: no-cache Pragma: no-cache Set-Cookie: aps03=cg=0&cst=79&ct=36&lng=1; expires=Mon, 31-Jul-2023 23:00:00 GMT; path=/ Set-Cookie: session=stk=4AAB3AF9BFFA4924827BBD1FAA025E4C000003; path=/ Set-Cookie: stk=4AAB3AF9BFFA4924827BBD1FAA025E4C000003; path=/ Set-Cookie: rmbs=3; expires=Sat, 01-Feb-2014 00:00:00 GMT; path=/ X-Powered-By: ASP.NET # Firefox for Android HEAD / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.bet365.com User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 302 Object moved Cache-Control: no-store, no-cache Cache-Control: no-store Cache-control: private Content-Length: 146 Content-Type: text/html Date: Thu, 01 Aug 2013 17:01:18 GMT Location: https://mobile.bet365.com Pragma: no-cache Pragma: no-cache X-Powered-By: ASP.NET then HEAD / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: mobile.bet365.com User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 302 Found Cache-Control: private Content-Length: 157 Content-Type: text/html; charset=utf-8 Date: Thu, 01 Aug 2013 17:02:02 GMT Location: https://mobile.bet365.com/languages.aspx Pragma: no-cache Set-Cookie: session=processform=0&stk=415F17469787430BA472F6A20E33BA1C000003; path=/; secure Set-Cookie: stk=415F17469787430BA472F6A20E33BA1C000003; path=/; secure Set-Cookie: aps03=lng=1&tzi=3&ct=36&cst=79&cg=0; expires=Tue, 01-Aug-2023 17:02:02 GMT; path=/; secure X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET and HEAD /languages.aspx HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: mobile.bet365.com User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 200 OK Cache-Control: private Cache-Control: no-cache, must-revalidate Content-Length: 4568 Content-Type: text/html; charset=utf-8 Date: Thu, 01 Aug 2013 17:02:33 GMT Expires: Fri, 31 Dec 2001 00:00:00 GMT Pragma: no-cache Pragma: no-cache Set-Cookie: session=processform=0&stk=38C921A1A513400C914BC21C6476E911000003; path=/; secure Set-Cookie: stk=38C921A1A513400C914BC21C6476E911000003; path=/; secure Set-Cookie: aps03=lng=1&tzi=3&ct=36&cst=79&cg=0; expires=Tue, 01-Aug-2023 17:02:33 GMT; path=/; secure X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET X-UA-Compatible: requiresActiveX=true
Assignee: nobody → kdubost
Whiteboard: [uaoverride] → [uaoverride] [country-all] [sitewait] [serversniff]
> Hi Karl, > > Thanks for letting us know about this. > We replicated it using the same UA and have since made changes which went live yesterday. > The change has also been retested on a Keon that we now have and that works fine too. Tested myself too. This is working. Excellent. I will remove the UA override.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 902604
Blocks: 907161
Blocks: 911260
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.