Closed Bug 957846 Opened 6 years ago Closed 2 years ago

wap.2kk.mobi sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect, P5)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hsteen, Assigned: yliu)

References

()

Details

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

Site: http://wap.2kk.mobi
wap.2kk.mobi sends desktop 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. This turns very messy - ads that are supposed to be on either side end up on top of content, the site becomes unusable. Same problems in Firefox for Android:

GET / HTTP/1.1
Host: wap.2kk.mobi
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
Connection: close
Date: Wed, 08 Jan 2014 23:52:34 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: wapkang=SessionId=; expires=Thu, 09-Jan-2014 23:52:34 GMT; path=/
Set-Cookie: activity=enterid=0; path=/
Set-Cookie: onlinecount-10=497; expires=Wed, 08-Jan-2014 23:55:34 GMT; path=/
Cache-Control: private
Content-Type: text/html;charset=utf-8
Content-Length: 14246

------------------------------------------------------------------
GET / HTTP/1.1
Host: wap.2kk.mobi
User-Agent: Mozilla/5.0 (Mobile; rv:27.0) Gecko/27.0 Firefox/27.0

HTTP/1.1 200 OK
Connection: close
Date: Wed, 08 Jan 2014 23:53:40 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: activity=enterid=0; path=/
Cache-Control: private
Content-Type: text/html;charset=utf-8
Content-Length: 57569

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


:: Expected Result

prettiness

:: Actual Result

Desktop 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
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][serversniff][country-cn][contactready]
Adding the more general Bug about WAP issues for Chinese Web sites.
Depends on: 997668
Assignee: nobody → yliu
Status: NEW → ASSIGNED
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.