Closed
Bug 828376
Opened 12 years ago
Closed 11 years ago
plotek.pl doesn't recognize Fennec and B2G UAs as mobile
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: lmandel, Unassigned)
References
()
Details
(Whiteboard: [uaoverride] [country-pl] [serversniff] [contactready])
plotek.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.
Reporter | ||
Updated•12 years ago
|
OS: Gonk (Firefox OS) → All
Summary: plotek.pl doesn't recognize B2G UA as mobile → plotek.pl doesn't recognize Fennec and B2G UAs as mobile
![]() |
||
Updated•12 years ago
|
Whiteboard: [uaoverride] → [uaoverride] [country-pl]
![]() |
||
Comment 1•12 years ago
|
||
To be contacted for having Firefox OS having the same content than other mobile.
Server Side Detection with different content sent.
Interesting detail, in the HTTP headers `X-Server-Name: www.gazeta.pl`. It would be good to contact them at the same time than for Bug 828354
iPod Touch is receiving a mobile web site m.plotek.pl
while Opera Mobile is receiving a mobile content exactly like Firefox for Android.
The current override is
pref("general.useragent.override.plotek.pl", "Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19"); // bug 828376
without the UA override, Firefox OS receives the desktop content.
The override on Firefox for Android is not necessary.
→ http -b GET http://www.plotek.pl/plotek/0,0.html User-Agent:"Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19" | grep -i mobile
<!-- mobile-agora -->
, mobileInfo: {
"isMobileDevice": true,
firefox android
→ http -b GET http://www.plotek.pl/plotek/0,0.html User-Agent:"$FANUA" | grep -i mobile
<!-- mobile-agora -->
, mobileInfo: {
"isMobileDevice": true,
firefox os
→ http -b GET http://www.plotek.pl/plotek/0,0.html User-Agent:"$FOSUA" | grep -i mobile
<!-- mobile-agora -->
, mobileInfo: {
"isMobileDevice": false,
opera mobile
→ http -b GET http://www.plotek.pl/plotek/0,0.html User-Agent:"$OANUA" | grep -i mobile
<!-- mobile-agora -->
, mobileInfo: {
"isMobileDevice": true,
# Firefox for Android
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.plotek.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: 244
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 09 Aug 2013 19:25:11 GMT
Location: http://www.plotek.pl/plotek/0,0.html
Server: Apache
GET /plotek/0,0.html HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.plotek.pl
User-Agent: Mozilla/5.0 (Android; 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:26:44 GMT
P3P: CP="NOI DSP COR NID PSAo OUR IND"
Server: Apache
Set-Cookie: plotek_nlt_datelist=_201308092126; expires=Mon, 08-Aug-2016 19:26:44 GMT
Set-Cookie: test=66A130A24A10k1376076404235; expires=Sun, 09-Aug-2015 19:26:44 GMT; path=/
Set-Cookie: GPL_SID=FQWySFCJRsv2wQCnCJpZ3JshP6LThpvVHYFG27PBcQ6rBWW3Lvgf!2019578770; path=/; HttpOnly
Transfer-Encoding: chunked
Vary: Accept-Encoding,User-Agent
X-Powered-By: Servlet/2.5 JSP/2.1
X-Server-Name: www.gazeta.pl
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-pl] → [uaoverride] [country-pl] [serversniff]
![]() |
||
Updated•11 years ago
|
Assignee: kdubost → nobody
Updated•11 years ago
|
Whiteboard: [uaoverride] [country-pl] [serversniff] → [uaoverride] [country-pl] [serversniff] [contactready]
Comment 2•11 years ago
|
||
the sitetest extension thinks this is fixed, and so do I. Both FxOS and FxAn get something that looks exactly like what the stock browser gets.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•