Closed
Bug 866577
Opened 13 years ago
Closed 7 years ago
3g.qq.com / info.3g.qq.com doesn't recognize B2G UA as mobile
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: iliu, Assigned: karlcow)
References
()
Details
(Whiteboard: [uaoverride] [country-cn] [serversniff] [sitewait][wap])
Attachments
(2 files)
|
8.08 KB,
patch
|
Details | Diff | Splinter Review | |
|
66.54 KB,
text/css
|
Details |
3g.qq.com serves a desktop site to B2G. Bug 859030 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.
| Assignee | ||
Comment 1•12 years ago
|
||
Firefox for Android gets redirected to a mobile site with a nice design.
On the other hand Firefox OS receives a wap XML content which can't be parsed by Firefox OS.
Firefox OS should receive the same content than other mobile browsers on Android.
To be contacted. Ian Liu if you could.
https://wiki.mozilla.org/Compatibility/Guide#Finding_The_Right_Contact_on_a_Web_site
# Firefox for Android
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: 3g.qq.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 302 Found
Cache-Control: no-cache
Content-Length: 89
Content-Type: text/html; charset=utf-8
Date: Wed, 21 Aug 2013 18:06:46 GMT
Location: http://info.3g.qq.com/g/s?aid=index&g_ut=3&g_f=1283
Pragma: no-cache
Server: HTTP Load Balancer/1.0
Set-Cookie: JSESSIONID=aaaKjbBOU6g4_e-8QdIcu; path=/
The URL has moved <a href="http://info.3g.qq.com/g/s?aid=index&g_ut=3&g_f=1283">here</a>
# Firefox OS
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: 3g.qq.com
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Encoding: gzip
Content-Length: 350
Content-Type: text/vnd.wap.wml; charset=UTF-8
Date: Wed, 21 Aug 2013 18:07:54 GMT
Pragma: no-cache
Server: HTTP Load Balancer/1.0
Set-Cookie: JSESSIONID=aaat5egJqY2GIguW7dIcu; path=/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="qq" ontimer="http://info.3g.qq.com/g/s?aid=index&s_it=1&g_from=3gindex&&g_f=1283" title="手机腾讯网">
<timer value="1"/>
<p align="center">
<br/>
<br/>
欢迎进入<br/>
手机腾讯网...<br/>
<a href="http://info.3g.qq.com/g/s?aid=index&s_it=3&g_from=3gindex&&g_f=1283">3g.qq.com</a><br/>
</p>
</card></wml>
Assignee: nobody → kdubost
URL: 3g.qq.com → http://3g.qq.com/
Flags: needinfo?(iliu)
Whiteboard: [uaoverride] → [uaoverride] [country-zh] [serversniff]
| Assignee | ||
Updated•12 years ago
|
Assignee: kdubost → nobody
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-zh] [serversniff] → [uaoverride] [country-zh] [serversniff] [contactready]
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-zh] [serversniff] [contactready] → [uaoverride] [country-cn] [serversniff] [contactready]
Updated•12 years ago
|
Summary: 3g.qq.com doesn't recognize B2G UA as mobile → 3g.qq.com / info.3g.qq.com doesn't recognize B2G UA as mobile
Whiteboard: [uaoverride] [country-cn] [serversniff] [contactready] → [uaoverride] [country-cn] [serversniff] [contactready][wap]
| Assignee | ||
Comment 3•12 years ago
|
||
iOS iPod Mobile content
Comment 4•12 years ago
|
||
t.qq.com serves desktop content to Firefox OS (other touch browsers are redirected to pt.3g.qq.com)
| Assignee | ||
Comment 5•12 years ago
|
||
hmm interesting. Another server which is sensitive to the accept header, we have to be careful with those.
# Receiving text/html
→ http --print hH GET http://3g.qq.com/ "User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0" "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
GET / HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate, compress
Host: 3g.qq.com
User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
HTTP/1.1 302 Found
Cache-Control: no-cache
Content-Length: 105
Content-Type: text/html; charset=utf-8
Date: Tue, 14 Jan 2014 02:46:46 GMT
Location: http://info.3g.qq.com/g/s?aid=index&s_it=1&g_from=3gindex&&g_f=1283
Pragma: no-cache
Server: HTTP Load Balancer/2.0
Set-Cookie: JSESSIONID=aaaAY7gRGnFzL8HfoPoou; path=/
# Receiving wap with "Accept: */*"
→ http --print hH GET http://3g.qq.com/ "User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0" "Accept: */*"
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: 3g.qq.com
User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Encoding: gzip
Content-Length: 350
Content-Type: text/vnd.wap.wml; charset=UTF-8
Date: Tue, 14 Jan 2014 02:47:05 GMT
Pragma: no-cache
Server: HTTP Load Balancer/2.0
Set-Cookie: JSESSIONID=aaayWvQyeqOax4CKsPoou; path=/
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-cn] [serversniff] [contactready][wap] → [uaoverride] [country-cn] [serversniff] [sitewait][wap]
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•12 years ago
|
||
This is fixed.
I guess there is a need for opening another bug for a flexbox analysis now. :)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(iliu)
Resolution: --- → FIXED
| Assignee | ||
Comment 7•12 years ago
|
||
To note also that Firefox OS is receiving the simplified mobile version. So we can remove the UA override. Too many issues for the same bug.
| Assignee | ||
Comment 8•11 years ago
|
||
Bug for Flexbox issues https://github.com/webcompat/web-bugs/issues/649
| Assignee | ||
Comment 9•11 years ago
|
||
A diff in between the original css and the fixed css.
| Assignee | ||
Comment 10•11 years ago
|
||
The fixed CSS for QQ
| Assignee | ||
Comment 11•11 years ago
|
||
Peipei,
I took the time to fix their CSS flexbox.
See the attachments in this bug and also the bug report on webcompat
https://github.com/webcompat/web-bugs/issues/649
That could help you when negotiating with QQ.
Flags: needinfo?(xshen)
Flags: needinfo?(pcheng)
Comment 12•11 years ago
|
||
(In reply to Karl Dubost :karlcow from comment #11)
> Peipei,
>
> I took the time to fix their CSS flexbox.
> See the attachments in this bug and also the bug report on webcompat
> https://github.com/webcompat/web-bugs/issues/649
>
> That could help you when negotiating with QQ.
Thank you Karl! This is really helpful. I will ask our BD team to contact with QQ.
Flags: needinfo?(xshen)
Flags: needinfo?(pcheng)
Comment 13•10 years ago
|
||
Go figure.. several other formerly wap sites are now fixed, but this one just regressed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 years ago
|
Status: REOPENED → NEW
| Assignee | ||
Updated•9 years ago
|
Priority: -- → P5
Comment 14•7 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 12 years ago → 7 years ago
Resolution: --- → WONTFIX
Comment 15•7 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•2 years ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•