m.lashou.com sends simplified site to Firefox OS

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: hsteen, Assigned: angelc04)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

5 years ago
Site: http://m.lashou.com
m.lashou.com sends simplified site to Firefox OS

:: Steps To Reproduce

Some HTTP requests demonstrating the server-side sniffing below - first Android stock, then Firefox OS - note the different Content-length:

GET / HTTP/1.1
Host: m.lashou.com
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
x-wap-profile: http://www.htcmms.com.tw/Android/Common/PJ461/ua-profile.xml
X-Requested-With: com.android.browser
User-Agent: Mozilla/5.0 (Linux; U; Android 4.1.1; nb-no; HTC_One_X Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Accept-Encoding: gzip,deflate
Accept-Language: nb-NO, en-US
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

HTTP/1.1 200 OK
Date: Wed, 08 Jan 2014 23:42:57 GMT
Server: Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 DAV/2
Set-Cookie: Hm_lpvt_c2eaab85259ff4e5e56f035ef5786907=1389224577; path=/
Set-Cookie: Hm_lvt_c2eaab85259ff4e5e56f035ef5786907=1389224577; expires=Thu, 08-Jan-2015 23:42:57 GMT; path=/
Set-Cookie: ThinkID=v2eq7r5lfbvv4a7fdgi9lpn5q5; path=/; domain=.lashou.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private,no-cache,must-revalidate
Pragma: no-cache
Set-Cookie: client_key=2827424d0dab9bfa9e9a261981c15c99; expires=Fri, 07-Feb-2014 23:42:57 GMT; path=/; domain=.lashou.com
Set-Cookie: visit_city_string=beijing; expires=Tue, 08-Apr-2014 23:43:02 GMT; path=/; domain=.lashou.com
Set-Cookie: cookie_check=1; expires=Thu, 09-Jan-2014 00:43:02 GMT; path=/; domain=.lashou.com
Vary: Accept-Encoding
Content-Length: 286653
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html;charset=UTF-8

------------------------------------------------------------------
GET / HTTP/1.1
Host: m.lashou.com
User-Agent: Mozilla/5.0 (Mobile; rv:27.0) Gecko/27.0 Firefox/27.0

HTTP/1.1 200 OK
Date: Wed, 08 Jan 2014 23:44:05 GMT
Server: Apache
Set-Cookie: Hm_lpvt_c2eaab85259ff4e5e56f035ef5786907=1389224645; path=/
Set-Cookie: Hm_lvt_c2eaab85259ff4e5e56f035ef5786907=1389224645; expires=Thu, 08-Jan-2015 23:44:05 GMT; path=/
Set-Cookie: ThinkID=lhe59cprukn4n89r6c3f4hj067; path=/; domain=.lashou.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private,no-cache,must-revalidate
Pragma: no-cache
Set-Cookie: client_key=d14eb09d8434291c0dc0db8258122f43; expires=Fri, 07-Feb-2014 23:44:05 GMT; path=/; domain=.lashou.com
Set-Cookie: visit_city_string=beijing; expires=Tue, 08-Apr-2014 23:44:10 GMT; path=/; domain=.lashou.com
Set-Cookie: cookie_check=1; expires=Thu, 09-Jan-2014 00:44:10 GMT; path=/; domain=.lashou.com
Vary: Accept-Encoding
Content-Type: text/html;charset=UTF-8
Content-Length: 69974

------------------------------------------------------------------


:: Expected Result

prettiness

:: Actual Result

basic site

:: Additional Information

Software Version: 1.1
Reporter's User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
(Reporter)

Updated

5 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][serversniff][country-cn][contactready]

Comment 1

5 years ago
Still an issue as of today.
Ask lashou to send the same content to Firefox OS, there are sending to Firefox Android.
Assignee: nobody → yliu
Status: NEW → ASSIGNED

Comment 2

4 years ago
The version which is sent to Firefox Android is working perfectly. It is just user agent sniffing.
Assignee: yliu → pcheng
(Reporter)

Comment 3

3 years ago
Seems they have changed things :)
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.