Closed Bug 828364 Opened 9 years ago Closed 8 years ago

nk.pl doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

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

nk.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: nk.pl
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-pl]
Server side user agent detection with redirection to a mobile domain and a second tier with different login form depending on the mobile.

Note that the login received by firefox for android is a low-end version of the login made for Opera Mini I think.

What the iPod Touch and Opera mobile are receiving are a better login.

To be contacted so that Firefox OS and Firefox for Android receive a good version of the content.


# Firefox OS

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: nk.pl
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, must-revalidate, post-check=0, pre-check=0
Connection: close
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Fri, 09 Aug 2013 18:25:24 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: Apache
Server: NK
Set-Cookie: nk_session=JSlOf739rEhdoJDo6bLTCvD1SCb; path=/; domain=.nk.pl
Set-Cookie: basic_auth=520e6e94f2a95ded7f0b40fc; expires=Fri, 16-Aug-2013 18:25:24 GMT; path=/; domain=.nk.pl
Set-Cookie: nkd=1105|UgU0G|UgU0G; path=/
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-UA-Compatible: IE=edge


# Firefox for Android

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

HTTP/1.1 302 Found
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: close
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Fri, 09 Aug 2013 18:26:01 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Location: http://m.nk.pl/portal/
Pragma: no-cache
Server: Apache
Server: NK
Set-Cookie: nk_session=1Uj0eDdkt4vNFrC459Ptvd7Y5lf; path=/; domain=.nk.pl
Set-Cookie: basic_auth=520e6eb95b3ae8005f917a76; expires=Fri, 16-Aug-2013 18:26:01 GMT; path=/; domain=.nk.pl
Set-Cookie: nkd=1247|UgU0P|UgU0P; path=/
Transfer-Encoding: chunked
Vary: Accept-Encoding

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

HTTP/1.1 302 Found
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Type: text/html
Date: Fri, 09 Aug 2013 18:27:00 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive: timeout=15
Location: /
Pragma: no-cache
Server: NK
Set-Cookie: nk_session=lZ8MdDM7cJoxXqUfRy18uTidQce; path=/; domain=.m.nk.pl; HttpOnly
Transfer-Encoding: chunked

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

HTTP/1.1 302 Found
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Type: text/html
Date: Fri, 09 Aug 2013 18:27:33 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive: timeout=15
Location: /login
Pragma: no-cache
Server: NK
Set-Cookie: nk_session=cYE6GRei11t37yeKDMTOVD0sHV9; path=/; domain=.m.nk.pl; HttpOnly
Transfer-Encoding: chunked

GET /login HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: m.nk.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-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html
Date: Fri, 09 Aug 2013 18:27:56 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive: timeout=15
Pragma: no-cache
Server: NK
Set-Cookie: nk_session=gTer4UiekdVhd3AUMBxIWr5-I11; path=/; domain=.m.nk.pl; HttpOnly
Transfer-Encoding: chunked
Vary: Accept-Encoding
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-pl] → [uaoverride] [country-pl] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-pl] [serversniff] → [uaoverride] [country-pl] [serversniff] [contactready]
Contacted through the form at http://nk.pl/support/send/6/5/1
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-pl] [serversniff] [contactready] → [uaoverride] [country-pl] [serversniff] [sitewait]
They said that will make efforts, try to fix it on their side.
> we have deployed fixes and now Firefox OS should be redirected 
> to the mobile version of nk.pl.
> Can you please check if everything is now ok?


FIXED!
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 978663
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.