Closed Bug 945963 Opened 11 years ago Closed 5 years ago

tieba.baidu.com serves simplified mobile content to Firefox Android

Categories

(Web Compatibility :: Interventions, defect, P1)

Other
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: karlcow, Assigned: denschub)

References

()

Details

(Keywords: webcompat:site-wait, Whiteboard: [mobile-compat-form] [country-cn] [serversniff] [webcompat:sitepatch-applied])

Attachments

(1 file)

Site: http://tieba.baidu.com/ tieba.baidu.com serves simplified mobile content to Firefox Android :: Steps To Reproduce 1. with Android Device and Firefox 2. Go to http://tieba.baidu.com/ :: Expected Result Receive a mobile friendly content like it is happening for Safari iOS. :: Actual Result Receive a low-fi mobile content :: Additional Information Software Version: 23 Device Information: Android Samsung Reporter's User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:25.0) Gecko/20100101 Firefox/25.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form] [country-cn] [serversniff]
GET / HTTP/1.1 User-Agent: Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0 Host: tieba.baidu.com HTTP/1.1 200 OK Date: Thu, 26 Dec 2013 12:25:14 GMT Content-Type: application/xhtml+xml; charset=utf-8 Connection: Keep-Alive Set-Cookie: BAIDU_WISE_UID=wapp_1388060715057_718; expires=Sat, 19-Dec-2043 12:25:15 GMT; path=/; domain=.baidu.com Set-Cookie: IS_NEW_USER=b9b5fddcb01b7144652c7e84; expires=Thu, 31-Dec-2020 15:59:59 GMT; path=/; domain=m1-orp-app0163.m1.baidu.com Set-Cookie: BAIDUID=045C3D076D33F1B7E97AAC6766995B29:FG=1; expires=Fri, 26-Dec-14 12:25:14 GMT; max-age=31536000; path=/; domain=.baidu.com; version=1 tracecode: 15148456950314780170122620 tracecode: 15148456951911494410122620 P3P: CP=" OTI DSP COR IVA OUR IND COM " Server: Apache Content-Length: 19478 ------------------------------------------------------------------ GET / HTTP/1.1 User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3 Host: tieba.baidu.com HTTP/1.1 200 OK Date: Thu, 26 Dec 2013 12:26:12 GMT Content-Type: text/html; charset=utf-8 Connection: Keep-Alive Vary: Accept-Encoding Vary: Accept-Encoding Set-Cookie: BAIDU_WISE_UID=wapp_1388060772241_288; expires=Sat, 19-Dec-2043 12:26:12 GMT; path=/; domain=.baidu.com Set-Cookie: IS_NEW_USER=29fdeceb8d3de9a65328b785; expires=Thu, 31-Dec-2020 15:59:59 GMT; path=/; domain=cp01-orp-app47.cp01.baidu.com Set-Cookie: mo_originid=2; path=/ Set-Cookie: BAIDUID=3E1AE6EDD0336361101D7E4E29C9154D:FG=1; expires=Fri, 26-Dec-14 12:26:12 GMT; max-age=31536000; path=/; domain=.baidu.com; version=1 tracecode: 15723294660942431242122620 tracecode: 15723294660958946314122620 P3P: CP=" OTI DSP COR IVA OUR IND COM " Server: Apache Content-Length: 33192 ------------------------------------------------------------------
Whiteboard: [mobile-compat-form] [country-cn] [serversniff] → [mobile-compat-form] [country-cn] [serversniff] [contactready]
On second thought, I want to analyze those sites a bit more before labelling them as contactready ;)..
Whiteboard: [mobile-compat-form] [country-cn] [serversniff] [contactready] → [mobile-compat-form] [country-cn] [serversniff]
See list of CSS issues that need fixing to make the fancy site work in Firefox on https://bugzilla.mozilla.org/attachment.cgi?id=8356974 (attached to bug 945960)
Whiteboard: [mobile-compat-form] [country-cn] [serversniff] → [mobile-compat-form] [country-cn] [serversniff][contactready]
Assignee: nobody → yliu
Status: NEW → ASSIGNED
Already contact baidu, 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]
When emulation Chrome UA, we get a working site on Firefox Android with emulation of webkitcss. It could benefit of UA override if someone from Mozilla Beijing things there is no hope for changing the UA sniffing on baidu side.
Dennis, once we can do this with gofaster, can you add a Chrome override please (and do some light testing)?
Assignee: yliu → dschubert
Flags: needinfo?(dschubert)
Priority: -- → P1
Will do that, yes. Thanks for pinging!
Flags: needinfo?(dschubert)
Moving to the right component for override.
Component: Mobile → Go Faster
Product: Tech Evangelism → Web Compatibility Tools
Flags: needinfo?(dschubert)
Attached file Pull Request to our GitHub repo (deleted) —
I created a PR with a UA override for these two domains. I did some testing (randomly clicking links, while clicking the same links on Chrome Android and comparing the rendering) and the site seems to work just fine, as far as I can tell.
Flags: needinfo?(dschubert)
Whiteboard: [mobile-compat-form] [country-cn] [serversniff][sitewait] → [mobile-compat-form] [country-cn] [serversniff][sitewait][sitepatch-built]

See bug 1547409. Moving webcompat whiteboard tags to keywords.

The original intervention mentioned in this bug landed. Additional domains were needed, and there is bug 1525839 for that. Let's close this one as fixed, as the initial override is done, and add a see-also to the bug extending the domain list!

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Whiteboard: [mobile-compat-form] [country-cn] [serversniff][sitewait][sitepatch-built] → [mobile-compat-form] [country-cn] [serversniff] [webcompat:sitepatch-applied]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: