Closed
Bug 843126
Opened 12 years ago
Closed 11 years ago
es.playstation.com doesn't recognize Firefox OS or Firefox on Android UAs as mobile
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lmandel, Assigned: karlcow)
References
()
Details
(Whiteboard: [uaoverride] [country-es] [serversniff] [sitewait])
es.playstation.com 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
|
Reporter | ||
Comment 1•12 years ago
|
||
This site doesn't recognize either the B2G or Fennec UAs as mobile.
OS: Gonk (Firefox OS) → All
Summary: es.playstation.com doesn't recognize B2G UA as mobile → es.playstation.com doesn't recognize B2G or Fennec UAs as mobile
![]() |
Assignee | |
Comment 2•12 years ago
|
||
→ export ADSURI="http://es.playstation.com/"
→ http HEAD $ADSURI User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0'
HTTP/1.1 200 OK
Cache-Control: max-age=15
Content-Encoding: gzip
Content-Language: es-es
Content-Length: 20
Content-Type: text/html
Date: Mon, 08 Jul 2013 21:33:40 GMT
Expires: Mon, 08 Jul 2013 21:33:55 GMT
Server: Srv/1
Set-Cookie: PDC4_COOKIE=L4xmRbwJLqQGq7JQ8J7CHxml1LyvlGrqj2dfyxPTGMGYvtZv64qJ!-1934913101; domain=.playstation.com; path=/; HttpOnly
Set-Cookie: portalLocaleCookie=es_ES; domain=.playstation.com; expires=Tuesday, 08-Jul-2014 21:33:40 GMT; path=/
Vary: Host,Accept-Encoding
X-SCEEDH: WLbase:10
→ http HEAD $ADSURI User-Agent:'iPhone'
HTTP/1.1 302 Moved Temporarily
Cache-Control: max-age=15
Content-Type: text/html
Date: Mon, 08 Jul 2013 21:33:58 GMT
Expires: Mon, 08 Jul 2013 21:34:13 GMT
Location: http://m.es.playstation.com/
Server: Srv/1
Set-Cookie: PDC4_COOKIE=VpCMRbwGHz8qFpSKnzh6CRZRvMhx1pZgy1CMHfJTjdTKWFNyPggp!-1934913101; domain=.playstation.com; path=/; HttpOnly
Vary: Host
X-SCEEDH: WLbase:10
The Playstation seems to be managed by "Sony Computer Entertainment Europe" but according to the traceroute the Web site is hosted in Japan. I'm trying to get information through someone.
![]() |
Assignee | |
Comment 3•12 years ago
|
||
To be contacted.
Whiteboard: [uaoverride] → [uaoverride] [country-es] [serversniff]
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-es] [serversniff] → [uaoverride] [country-es] [serversniff] [contactready]
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Contacted the mother site through
http://faq.en.playstation.com/app/ask/
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-es] [serversniff] [contactready] → [uaoverride] [country-es] [serversniff] [sitewait]
![]() |
Assignee | |
Comment 5•11 years ago
|
||
After sending that email through the form, I received an automated answer saying that they will contact me in 24h, which they didn't. We are two months later. :)
I will try another strategy.
![]() |
Assignee | |
Comment 6•11 years ago
|
||
description |
The issue is simple.
Firefox OS (and Firefox Android) are not identified as mobile browsers. They get the desktop content, while iOS Safari gets redirected to the mobile Web site.
When we are entering manually the domain name http://m.es.playstation.com/ with Firefox OS and Firefox Android, we are redirected to the desktop site.
The user agent detection is happening server side.
![]() |
Assignee | |
Comment 7•11 years ago
|
||
mdown suggestedfix |
Suggestion for fixing the issue. Sending the same version of the site to Firefox OS AND Firefox Android.
The [UA string for Firefox OS][1] has the patterns
"Mozilla/5.0 (Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
"Mozilla/5.0 (Mobile; nnnn; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
for Firefox for Android
"Mozilla/5.0 (Android; Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
* where `$VERSION` is a number.
* where `nnnn` is a string.
but we usually recommend to identify the substring `/mobi/` as much as possible so it will also help other browser vendors on mobile.
The CSS of the Web site has already all the vendor extensions equivalence and will be working on both Firefox OS and Firefox for Android.
[1]: https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference#Firefox_OS
![]() |
Assignee | |
Comment 8•11 years ago
|
||
making progress. Got a contact at Sony, then Sony Playstation.
![]() |
Assignee | |
Comment 9•11 years ago
|
||
from contacts to contacts. We are still making progress.
![]() |
Assignee | |
Updated•11 years ago
|
Summary: es.playstation.com doesn't recognize B2G or Fennec UAs as mobile → es.playstation.com doesn't recognize Firefox OS or Firefox on Android UAs as mobile
![]() |
Assignee | |
Comment 10•11 years ago
|
||
So they told me in July 2014.
> Our native mobile site will be decommissioned in the next few weeks and will be replaced with a responsive site. We will ensure the agent detection works for Mozilla's browser.
We receive the responsive Web site exactly as other browsers.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Comment 11•11 years ago
|
||
We need to remove the UA override for this one. Bug 1049484
https://hg.mozilla.org/mozilla-central/file/tip/b2g/app/ua-update.json.in#l52
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
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
•