Closed
Bug 921556
Opened 11 years ago
Closed 9 years ago
taobao.com sends desktop site to B2G
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsteen, Assigned: angelc04)
References
()
Details
(Whiteboard: [mobile-compat-form] [country-cn] [serversniff] [sitewait])
Attachments
(1 file)
44.33 KB,
image/png
|
Details |
Site: http://taobao.com
taobao.com sends desktop site to B2G
:: Steps To Reproduce
1. http://taobao.com
2. See desktop site
:: Expected Result
redirect to m.taobao.com
:: Actual Result
desktop site
:: Additional Information
Software Version: 1.1
Reporter's User Agent: Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0
Comment 1•11 years ago
|
||
Confirmed. Tested on Firefox OS/ZTE Open.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form] [country-cn]
Comment 2•11 years ago
|
||
As we can see there is a server side detection.
# Firefox for Android
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.taobao.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 302 Found
Cache-Control: max-age=86400
Connection: keep-alive
Content-Length: 260
Content-Type: text/html
Date: Fri, 25 Oct 2013 13:56:45 GMT
Expires: Sat, 26 Oct 2013 13:56:45 GMT
Location: http://m.taobao.com/?sprefer=sypc00
Server: Tengine
# Firefox OS
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.taobao.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 302 Found
Cache-Control: max-age=86400
Connection: keep-alive
Content-Length: 260
Content-Type: text/html
Date: Fri, 25 Oct 2013 13:57:23 GMT
Expires: Sat, 26 Oct 2013 13:57:23 GMT
Location: http://www.taobao.com/index_global.php
Server: Tengine
Note also when forcing the FOSUA on the mobile domain name. Firefox OS is being sent the low-tech version.
See Bug 784478
http -b GET "http://m.taobao.com/?sprefer=sypc00" User-Agent:"$FOSUA" | head -10
<!-- 默认版本 -->
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width; initial-scale=1.2; minimum-scale=1.0; maximum-scale=2.0"/>
<title>标准版 - 手机淘宝网</title>
Hardware: Other → ARM
Whiteboard: [mobile-compat-form] [country-cn] → [mobile-compat-form] [country-cn] [serversniff] [contactready]
Updated•11 years ago
|
Assignee: nobody → yliu
Status: NEW → ASSIGNED
Already contact taobao, but they don't have plan to fix it in short time.
Whiteboard: [mobile-compat-form] [country-cn] [serversniff] [contactready] → [mobile-compat-form] [country-cn] [serversniff] [sitewait]
Reporter | ||
Comment 5•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee: yliu → pcheng
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•7 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•