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

ASSIGNED
Assigned to

Status

P1
normal
ASSIGNED
5 years ago
19 days ago

People

(Reporter: karlcow, Assigned: denschub)

Tracking

Details

(Whiteboard: [mobile-compat-form] [country-cn] [serversniff][sitewait], URL)

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
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
(Reporter)

Updated

5 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Updated

5 years ago
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)
See Also: → bug 945960
Whiteboard: [mobile-compat-form] [country-cn] [serversniff] → [mobile-compat-form] [country-cn] [serversniff][contactready]
Depends on: 804642
(Reporter)

Updated

5 years ago
Assignee: nobody → yliu
Status: NEW → ASSIGNED

Comment 4

4 years ago
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]
(Reporter)

Comment 5

3 years ago
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
(Assignee)

Comment 7

7 months ago
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
(Reporter)

Updated

22 days ago
(Reporter)

Comment 9

22 days ago
Dennis, this will require to override 

http://tieba.baidu.com/
and http://tiebac.baidu.com/ -> https://webcompat.com/issues/18455
Flags: needinfo?(dschubert)
(Assignee)

Comment 10

19 days ago
Created attachment 9005619 [details] [review]
Pull Request to our GitHub repo

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)
You need to log in before you can comment on or make changes to this bug.