myphone.gr doesn't display mobile design on Firefox for Android

RESOLVED FIXED

Status

Tech Evangelism
Mobile
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: alefteris, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [country-gr][serversniff], URL)

(Reporter)

Description

4 years ago
Site: http://www.myphone.gr
myphone.gr doesn't display mobile design on Firefox for Android

:: Steps To Reproduce

1. Open Firefox for Android app
2. Type myphone.gr in Firefox for Android address bar

:: Expected Result

Get the mobile design of http://www.myphone.gr. When typing the web site address on iOS Safari or Firefox OS we get the mobile version.

:: Actual Result

We receive the desktop version of http://www.myphone.gr

:: Additional Information

Firefox for Android Beta
Software Version: Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0
Device Information: ZTE Blade
(Reporter)

Updated

4 years ago
Whiteboard: [country-gr]
Seems like they're doing serverside UA detection to serve a jQuery Mobile site (see the difference in Content-Length:

mtaylor at omg-2 in ~/tmp
$ http --print=Hh GET http://www.myphone.gr/ User-Agent:"$IOS"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.myphone.gr
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

HTTP/1.1 200 OK
Cache-Control: private, post-check=0, pre-check=0, max-age=0
Connection: close
Content-Encoding: gzip
Content-Length: 4407
Content-Type: text/html; charset=utf-8
Date: Mon, 28 Oct 2013 22:16:09 GMT
Expires: 0
Pragma: no-cache
Server: Apache
Set-Cookie: myp36sessionhash=4aaa68c70480e9e32c4887525c445d37; path=/; domain=www.myphone.gr; HttpOnly
Set-Cookie: myp36lastvisit=1382998569; expires=Tue, 28-Oct-2014 22:16:09 GMT; path=/; domain=www.myphone.gr
Set-Cookie: myp36lastactivity=0; expires=Tue, 28-Oct-2014 22:16:09 GMT; path=/; domain=www.myphone.gr
Vary: Accept-Encoding,User-Agent
X-Powered-By: PHP/5.2.17

mtaylor at omg-2 in ~/tmp
$ http --print=Hh GET http://www.myphone.gr/ User-Agent:"$FFA"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.myphone.gr
User-Agent: Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0

HTTP/1.1 200 OK
Cache-Control: private, post-check=0, pre-check=0, max-age=0
Connection: close
Content-Encoding: gzip
Content-Length: 18360
Content-Type: text/html; charset=utf-8
Date: Mon, 28 Oct 2013 22:16:17 GMT
Expires: 0
Pragma: no-cache
Server: Apache
Set-Cookie: myp36sessionhash=732e882f69744dec8fa9ab2c15e51679; path=/; domain=www.myphone.gr; HttpOnly
Set-Cookie: myp36lastvisit=1382998577; expires=Tue, 28-Oct-2014 22:16:17 GMT; path=/; domain=www.myphone.gr
Set-Cookie: myp36lastactivity=0; expires=Tue, 28-Oct-2014 22:16:17 GMT; path=/; domain=www.myphone.gr
Vary: Accept-Encoding,User-Agent
X-Powered-By: PHP/5.2.17

The good news is if they serve us the jQuery Mobile site, everything should more or less work.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [country-gr] → [country-gr][serversniff][contactready]
(Reporter)

Updated

4 years ago
Whiteboard: [country-gr][serversniff][contactready] → [country-gr][serversniff][sitewait]
(Reporter)

Comment 2

4 years ago
I send a message using the contact form at http://www.myphone.gr/forum/feedback.php
(Reporter)

Comment 3

4 years ago
After communication with the site, the issue has now been fixed.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
(Reporter)

Updated

4 years ago
Whiteboard: [country-gr][serversniff][sitewait] → [country-gr][serversniff]
Resolution: WORKSFORME → FIXED
Yep, nice work!
You need to log in before you can comment on or make changes to this bug.