Closed
Bug 1099115
Opened 11 years ago
Closed 10 years ago
hh.ru sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lakostis, Unassigned)
References
()
Details
(Whiteboard: [country-ru][serversniff][contactready])
Firefox OS redirected to http://hhid.ru/hhid/validate/V2;uFAduY7X9JRsBxU7CMKERe7GaJjD?primaryhost=http://hh.ru&backurl=http://hh.ru/, Firefox Android redirected to http://hhid.ru/hhid/validate/V2;ohsPbRJLi1XLS5oypQwCJUrNfaS0?primaryhost=http://hh.ru&backurl=http://hh.ru/
Selected HTTP response headers:
Response for: 'Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1'
Response Status: 302
content-length: 1
location: http://hhid.ru/hhid/validate/V2;uFAduY7X9JRsBxU7CMKERe7GaJjD?primaryhost=http://hh.ru&backurl=http://hh.ru/
content-type: text/plain
Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 302
content-length: 1
location: http://hhid.ru/hhid/validate/V2;ohsPbRJLi1XLS5oypQwCJUrNfaS0?primaryhost=http://hh.ru&backurl=http://hh.ru/
content-type: text/plain
Comment 1•11 years ago
|
||
| description | ||
This site intends to send mobile browsers to a mobile site, but doesn't know that Firefox OS devices are smartphones. Hence the browser on Firefox OS phones get desktop content instead of mobile.
The HTTP traffic analysis below shows how the sniffing works - the first request is with a Firefox OS User-Agent and the second with an iPhone User-Agent (selected headers quoted):
GET http://hh.ru/ HTTP/1.1
User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 52657
------------------------------------------------------------------
GET http://hh.ru/ HTTP/1.1
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25
HTTP/1.1 302 Found
Location: https://m.hh.ru/?utm_campaign=redirect&utm_medium=mobile&utm_source=hh.ru
------------------------------------------------------------------
Comment 2•10 years ago
|
||
The content I get now looks much more mobile-like
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•