Closed Bug 878255 Opened 11 years ago Closed 10 years ago

24sata.hr 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: adamopenweb, Mentored)

References

()

Details

(Whiteboard: [uaoverride] [country-hr] [clientsniff] [sitewait] )

24sata.hr 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: 24sata.hr
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-hr]
GET / HTTP/1.1
Host: www.24sata.hr
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nn-no,nn;q=0.9,no-no;q=0.8,no;q=0.6,nb-no;q=0.5,nb;q=0.4,en-us;q=0.3,en;q=0.1
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 26 Aug 2013 22:07:39 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Vary: Accept-Encoding,Cookie
P3P: CP: IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT
Expires: Mon, 26 Aug 2013 22:08:27 GMT
Last-Modified: Mon, 26 Aug 2013 22:05:27 GMT
ETag: "64de04558a02008718c1190046aeaf6b"
Cache-Control: max-age=180
Content-Length: 166023

------------------------------------------------------------------
GET / HTTP/1.1
Host: www.24sata.hr
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nn-no,nn;q=0.9,no-no;q=0.8,no;q=0.6,nb-no;q=0.5,nb;q=0.4,en-us;q=0.3,en;q=0.1
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

HTTP/1.1 302 FOUND
Server: nginx
Date: Mon, 26 Aug 2013 22:08:31 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Vary: Cookie
Location: http://m.24sata.hr/
P3P: CP: IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT

------------------------------------------------------------------
GET / HTTP/1.1
Host: m.24sata.hr
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nn-no,nn;q=0.9,no-no;q=0.8,no;q=0.6,nb-no;q=0.5,nb;q=0.4,en-us;q=0.3,en;q=0.1
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

HTTP/1.1 200 OK
Date: Mon, 26 Aug 2013 22:08:31 GMT
Server: Apache
Last-Modified: Tue, 13 Aug 2013 08:52:06 GMT
ETag: "9e022-2f7e-4e3d05afbd980"
Accept-Ranges: bytes
Content-Length: 12158
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html

------------------------------------------------------------------
Whiteboard: [uaoverride] [country-hr] → [uaoverride] [country-hr] [serversniff]
Whiteboard: [uaoverride] [country-hr] [serversniff] → [uaoverride] [country-hr] [serversniff] [contactready]
Assignee: nobody → astevenson
Found a contact in web development, sent an email.
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-hr] [serversniff] [contactready] → [uaoverride] [country-hr] [serversniff] [sitewait]
No response. Found the company that built the site: Nivas (http://nivas.hr). Reaching out first via contact form on website.
Got a response, forwarding to the appropriate team.
Have been connected with the R&D team at 24sata, provided details of issue.
Response: they understand the issue and how to fix. Shouldn't be a problem to server FFOS the mobile site. They just need a few days and will get back to us. :)
They have made changes and the issue looks to be resolved. I'm getting the mobile version on simulator (1.2 & 1.3) and on a device with nightly.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Testing [uaoverride] bugs can be confusing ;-)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Getting closer. :)

Once we're at the mobile site, there's the following script with a few problems: http://m.24sata.hr/dvacetiri.js?1359675768 

https://gist.github.com/miketaylr/8923497#file-dvacetiri-js-L27-L34: we'll just get redirected back to the desktop.

https://gist.github.com/miketaylr/8923497#file-dvacetiri-js-L160 is a little troublesome. I wonder why they don't rely on the results of Modernizr.cssanimations, Modernizr.csstransforms, etc.?

Also, at http://m.24sata.hr/resources/css/dvacetiri7.css there's quite a bit of CSS that only applies -webkit- prefixes.
Whiteboard: [uaoverride] [country-hr] [serversniff] [sitewait] → [uaoverride] [country-hr] [serversniff] [sitewait] [mentor=astevenson]
Looks like the mobile site is being outsourced to another company. They will contact after the issue is solved.
Whiteboard: [uaoverride] [country-hr] [serversniff] [sitewait] [mentor=astevenson] → [uaoverride] [country-hr] [clientsniff] [sitewait] [mentor=astevenson]
Sent a follow up today to see if they had a response from the outsourced company.
Response: Fix is coming eventually from vendor but do not know when.
Fix was deployed for this issue. I'm now receiving the mobile site on device with UA override disabled.
Yep, FIXED here too.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Thanks Mike. 

Karl - Can you please remove the UA override? :)
Flags: needinfo?(kdubost)
Blocks: 995831
Thanks Adam just added to the next batch on Bug 995831
Flags: needinfo?(kdubost)
Mentor: astevenson
Whiteboard: [uaoverride] [country-hr] [clientsniff] [sitewait] [mentor=astevenson] → [uaoverride] [country-hr] [clientsniff] [sitewait]
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.