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)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: iliu, Assigned: karlcow)

References

()

Details

(Whiteboard: [uaoverride] [country-cn] [serversniff] [sitewait][wap])

Attachments

(2 files)

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.
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&amp;s_it=1&amp;g_from=3gindex&amp;&amp;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&amp;s_it=3&amp;g_from=3gindex&amp;&amp;g_f=1283">3g.qq.com</a><br/> </p> </card></wml>
Assignee: nobody → kdubost
Flags: needinfo?(iliu)
Whiteboard: [uaoverride] → [uaoverride] [country-zh] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-zh] [serversniff] → [uaoverride] [country-zh] [serversniff] [contactready]
See Also: → 907518
Whiteboard: [uaoverride] [country-zh] [serversniff] [contactready] → [uaoverride] [country-cn] [serversniff] [contactready]
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]
iOS iPod Mobile content
t.qq.com serves desktop content to Firefox OS (other touch browsers are redirected to pt.3g.qq.com)
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=/
Whiteboard: [uaoverride] [country-cn] [serversniff] [contactready][wap] → [uaoverride] [country-cn] [serversniff] [sitewait][wap]
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
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
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.
Blocks: 995831
Attached patch qq-css.diffSplinter Review
A diff in between the original css and the fixed css.
Attached file qq-fixed.css
The fixed CSS for QQ
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)
(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)
Go figure.. several other formerly wap sites are now fixed, but this one just regressed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → NEW
Priority: -- → P5
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 12 years ago7 years ago
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: