Closed Bug 957970 Opened 6 years ago Closed 1 year ago

mt.hupu.com redirects to simplified mobile site

Categories

(Web Compatibility :: Mobile, defect, P5)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hsteen, Unassigned)

References

()

Details

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

Attachments

(1 file)

Site: http://mt.hupu.com/nba
mt.hupu.com/nba redirects to simplified mobile site

:: Steps To Reproduce

Android stock browser gets the mt.hupu richer content, Fx OS is redirected to the wap.hupu poorer:

GET /nba HTTP/1.1
Host: mt.hupu.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
Server: nginx
Date: Thu, 09 Jan 2014 08:58:54 GMT
Content-Type: text/html;charset=utf-8
Connection: close
Vary: Accept-Encoding
X-Powered-By: PHP/5.3.19
Set-Cookie: app_cookie=1389257933; expires=Thu, 09-Jan-2014 15:59:59 GMT; path=/
Set-Cookie: __dacem=0x172f0a1e98f4a8bf; expires=Sat, 09-Jan-2016 08:58:54 GMT; path=/
Set-Cookie: Hm_lpvt_5bed51338b759fc2711209320f609419=1389257934; path=/
Set-Cookie: Hm_lvt_5bed51338b759fc2711209320f609419=1389257934; expires=Fri, 09-Jan-2015 08:58:54 GMT; path=/
Set-Cookie: Hm_lpvt_8333b18eab90d003f6e14e780d0ddfed=1389257934; path=/
Set-Cookie: Hm_lvt_8333b18eab90d003f6e14e780d0ddfed=1389257934; expires=Fri, 09-Jan-2015 08:58:54 GMT; path=/
X-Server: symfony-web-no1-105
Content-Length: 41470

------------------------------------------------------------------
GET /nba HTTP/1.1
Host: mt.hupu.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:27.0) Gecko/27.0 Firefox/27.0

HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Thu, 09 Jan 2014 08:59:40 GMT
Content-Type: text/html;charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.3.19
Location: http://wap.hupu.com/nba
X-Server: symfony-web-no1-105
Content-Length: 0

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


:: Expected Result

Fancy mobile site

:: Actual Result

Basic mobile 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]
Not only the /nba but the full site gets the same treatment.
To note that the mt.hupu.com is working well on Firefox Android and Firefox OS.

To be contacted.
Assignee: nobody → yliu
Status: NEW → ASSIGNED
Summary: mt.hupu.com/nba redirects to simplified mobile site → mt.hupu.com redirects to simplified mobile site
The version http://m.hupu.com/ is working perfectly on Firefox Android/OS.
It's just a question of User agent sniffing.
Assignee: yliu → pcheng
Priority: -- → P5
The Firefox OS project is not active anymore.
Assignee: angelc04 → nobody
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.