Closed Bug 828354 Opened 12 years ago Closed 11 years ago

gazeta.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 FIXED

People

(Reporter: lmandel, Assigned: adamopenweb)

References

()

Details

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

gazeta.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: gazeta.pl
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-pl]
Server side user agent detection. To be contacted. Without UA override ZTE+FirefoxOS receives the desktop content. # Firefox OS GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.gazeta.pl User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 301 Moved Permanently Age: 0 Connection: keep-alive Content-Length: 237 Content-Type: text/html; charset=iso-8859-1 Date: Fri, 09 Aug 2013 17:31:32 GMT Location: http://www.gazeta.pl/0,0.html Server: Apache Via: hp_cache24 X-Cache: MISS X-Varnish: 1555609884 AND GET /0,0.html HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.gazeta.pl User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 200 OK Age: 0 Connection: keep-alive Content-Type: text/html; charset=iso-8859-2 Date: Fri, 09 Aug 2013 17:32:17 GMT P3P: CP="NOI DSP COR NID DEV PSA OUR IND UNI" Server: Apache Set-Cookie: GW_JSESSIONID=PY2wSFnBYTwJkL9LSNwsmnT9cvJKGlmKBSNn0QFZnGTN03HrfJWL!-1449184285; domain=.gazeta.pl; path=/; HttpOnly Set-Cookie: test=172A24A6A41k1376069537804; domain=.gazeta.pl; expires=Sun, 09-Aug-2015 17:32:17 GMT; path=/ Set-Cookie: nav_test_ab=old; expires=Sat, 09-Aug-2014 17:32:17 GMT Surrogate-Control: content="ESI/1.0",max-age=0+0 Transfer-Encoding: chunked Via: hp_cache40 X-Cache: MISS X-Powered-By: Servlet/2.5 JSP/2.1 X-Varnish: 2263060122 # Firefox for Android GET / HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.gazeta.pl User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 301 Moved Permanently Age: 0 Connection: keep-alive Content-Length: 237 Content-Type: text/html; charset=iso-8859-1 Date: Fri, 09 Aug 2013 17:32:48 GMT Location: http://www.gazeta.pl/0,0.html Server: Apache Via: hp_cache44 X-Cache: MISS X-Varnish: 1190541125 AND GET /0,0.html HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: www.gazeta.pl User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0 HTTP/1.1 301 Moved Permanently Age: 0 Connection: keep-alive Content-Length: 235 Content-Type: text/html; charset=iso-8859-1 Date: Fri, 09 Aug 2013 17:33:10 GMT Location: http://m.gazeta.pl/0,0.html Server: Apache Via: hp_cache44 X-Cache: MISS X-Varnish: 1190542937 AND GET /0,0.html HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate, compress Host: m.gazeta.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 17:33:32 GMT P3P: CP="NOI DSP COR NID DEV PSA OUR IND UNI" Server: Apache Set-Cookie: MINI_SID=x0vlSFnM6N8NLS0PyJPvslpzPnl12dD1XGlS8c1T8B7Rhs10GV8m!1356820377; path=/; HttpOnly Set-Cookie: test=66A130A24A10k1376069612915; domain=.gazeta.pl; expires=Sun, 09-Aug-2015 17:33:32 GMT; path=/ Transfer-Encoding: chunked Vary: User-Agent,Accept-Encoding X-Powered-By: Servlet/2.5 JSP/2.1 X-Server-Name: (null)
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-pl] → [uaoverride] [country-pl] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-pl] [serversniff] → [uaoverride] [country-pl] [serversniff] [contactready]
Reaching out by email to site contact: redakcja_portalu@agora.pl
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-pl] [serversniff] [contactready] → [uaoverride] [country-pl] [serversniff] [sitewait]
Blocks: 828360
Site is run by Agora http://www.agora.pl. Bug 828360 is another bug for Agora, site is sport.pl.
Blocks: 828378
Blocks: 828380
Blocks: 870209
Reaching out to head of mobile applications at Agora SA. https://twitter.com/MozWebCompat/status/436553087697043458 Other Agora related bugs: wyborcza.pl - bug 828378 deser.pl - bug 828380 polygamia.pl - 870209
The recommended way to detect Firefox and other mobile browsers is by searching for the string “Mobi”. This can be implemented through custom code or through a library/framework. If it is through a library/framework you can check that it is up to date or reach out to the vendor for more information. For more detailed information on user agent detection see the Mozilla Developer Network (https://developer.mozilla.org/en-US/docs/Browser_detection_using_the_user_agent#Mobile.2C_Tablet_or_Desktop).
Response: forwarding to the right person.
Checked today but no progress on the issue.
Haven't heard back. Replied with my email address https://twitter.com/MozWebCompat/status/444530962974531584.
Response on twitter: "I'm really sorry for such late response. It just have been lost within other tasks. I can't say when it will be fixed."
Response from our contact that they have implemented a fix. I'm getting redirected to mobile site on device with UA override disabled. Also these match.. Firefox Android: http -h GET http://www.gazeta.pl/0,0.html User-Agent:'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0' HTTP/1.1 301 Moved Permanently Age: 0 Connection: keep-alive Content-Length: 235 Content-Type: text/html; charset=iso-8859-1 Date: Wed, 23 Apr 2014 14:39:23 GMT Location: http://m.gazeta.pl/0,0.html Server: Apache Via: hp_cache25 X-Cache: MISS X-Varnish: 1546385642 Firefox OS: http -h GET http://www.gazeta.pl/0,0.html User-Agent:'Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0' HTTP/1.1 301 Moved Permanently Age: 0 Connection: keep-alive Content-Length: 235 Content-Type: text/html; charset=iso-8859-1 Date: Wed, 23 Apr 2014 14:41:14 GMT Location: http://m.gazeta.pl/0,0.html Server: Apache Via: hp_cache33 X-Cache: MISS X-Varnish: 2049823305
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Karl, can you please remove the UA override for this bug and those it blocks? Thanks! :)
Flags: needinfo?(kdubost)
Blocks: 995831
It's all closed. And patch sent for review. Thanks Adam.
Flags: needinfo?(kdubost)
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.