Closed Bug 969830 Opened 9 years ago Closed 9 years ago

ebay.de doesn't load mobile site for FOS.

Categories

(Web Compatibility :: Mobile, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sezen.guenes, Assigned: sezen.guenes)

References

()

Details

(Whiteboard: [country-de][serversniff][sitewait])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140205162153

Steps to reproduce:

I visited ebay.de with Firefox OS and it loaded a Desktop Website. 



Expected results:

It should load Mobile Website.
Server-side sniffing - HTTP redirect to m.ebay.de doesn't happen for Firefox OS:

GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
Host: www.ebay.de

HTTP/1.1 200 OK
RlogId: t6e%60cckjkb9%3Fvo%7B2d71f%2B4%3B42-144198a4546-0xe8
Set-Cookie: JSESSIONID=7CCA170965E0C0C4872FB8965D1E4F95; Path=/
Set-Cookie: ebay=%5Esbf%3D%23%5E;Domain=.ebay.de;Path=/ 
Set-Cookie: dp1=bu1p/QEBfX0BAX19AQA**54d96748^;Domain=.ebay.de;Expires=Wed, 10-Feb-2016 02:04:56 GMT;Path=/ 
Set-Cookie: s=CgAD4ACBS+YVIMTk4YTQ1MjIxNDQwYTU2N2FiNDJkY2MyZmZjZjUzN2MBSgAZUvmFSDUyZjgzM2M3Ljc3LjEuNy4xMDMuNi4wLjFTxc89;Domain=.ebay.de;Path=/; HttpOnly 
Set-Cookie: nonsession=CgADLAAFS+DrQMQDKACBcXjVIMTk4YTQ1MjIxNDQwYTU2N2FiNDJkY2MyZmZjZjUzN2MBTAAZVNlnSDUyZjgzM2M3Ljc3LjEuNi4xMzguMi4wLjFKURzP;Domain=.ebay.de;Expires=Tue, 10-Feb-2015 02:04:56 GMT;Path=/ 
Set-Cookie: lucky9=9002635;Domain=.ebay.de;Expires=Sat, 09-Feb-2019 02:04:56 GMT;Path=/ 
Content-Type: text/html;charset=utf-8
Content-Language: en-US
Date: Mon, 10 Feb 2014 02:04:55 GMT
Server: eBay Server
Content-Length: 154220

------------------------------------------------------------------
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
Host: www.ebay.de

HTTP/1.1 301 Moved Permanently
Set-Cookie: ebay=%5Esbf%3D%23%5E;Domain=.ebay.de;Path=/ 
Set-Cookie: s=CgAD4ACBS+YVZMTk4YTg4YTkxNDQwYTc4Nzg1NDQxODE0ZmZkMjJiZDcBSgAYUvmFWTUyZjgzM2Q5Ljc3LjEuNC43MC42LjAuMfVP9FQ*;Domain=.ebay.de;Path=/; HttpOnly 
Set-Cookie: nonsession=CgADLAAFS+DrhMQDKACBcXjVZMTk4YTg4YTkxNDQwYTc4Nzg1NDQxODE0ZmZkMjJiZDcBTAAYVNlnWTUyZjgzM2Q5Ljc3LjEuMy42OS4yLjAuMbXvFtM*;Domain=.ebay.de;Expires=Tue, 10-Feb-2015 02:05:13 GMT;Path=/ 
location: http://m.ebay.de/
Content-Length: 0
Date: Mon, 10 Feb 2014 02:05:12 GMT
Server: eBay Server

------------------------------------------------------------------
A Firefox OS device will send this HTTP header:

User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0

ebay.de is not currently configured to handle this device as a smartphone, so it fails to redirect to the mobile site m.ebay.de .
Whiteboard: [country-de][serversniff][contactready]
ebay.de should be configured to recognise Firefox OS devices as Touch-capable smartphones.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → sezen.guenes
Severity: normal → major
See Also: → 826958
I had the notion that all ebay Web sites were controlled by the same code. (I can be wrong on that). But any progress we make on the issue will be good and might have impact on others. I have myself some contacts with ebay people, but maybe not the right ones. So please keep pushing it and we can share our mutual information.
Status: NEW → ASSIGNED
Whiteboard: [country-de][serversniff][contactready] → [country-de][serversniff][sitewait]
Did we send them the actual UserAgent String?
For ebay.de, they receive the Firefox OS user agent string.

Fore ebay.es and ebay.com they receive the Firefox Android User agent string.
  // bug 826958, ebay.com
  "ebay.com": "\\(Mobile#(Android; Mobile",
  // bug 828386, ebay.es
  "ebay.es": "\\(Mobile#(Android; Mobile",

in ua-update.json.in
http://hg.mozilla.org/releases/mozilla-release/file/tip/b2g/app/ua-update.json.in#l42
http://hg.mozilla.org/releases/mozilla-release/file/tip/b2g/app/ua-update.json.in#l96

:) If you are wondering about why the others and not this one. History. :) At the same time it will become a lot easier to fix.
Word from ebay is these have been fixed.  I just verified with the FxOS 1.0 UA.  Can web compat run it through some more tests and close this out?
Confirmed - ebay.de redirects to m.ebay.de on my Flame too
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.