Closed Bug 878286 Opened 9 years ago Closed 8 years ago

yandex.ru doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

(Whiteboard: [uaoverride] [country-ru] [sitewait] [serversniff])

yandex.ru serves a desktop site to B2G. Bug 823364 added an UA override for this domain. The override should be removed once the domain serves mobile content to B2G. This bug tracks the evangelism for the site to recognize the B2G UA and the removal of the override at that time.
Blocks: yandex.ru
Whiteboard: [uaoverride]
confirmed. The firefox OS UA string is getting the desktop site.
'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0'

Contacting someone from yandex.
Flags: needinfo?(charles)
I will contact Chaals.
Flags: needinfo?(charles)
Whiteboard: [uaoverride] → [uaoverride] [country-ru]
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-ru] → [uaoverride] [country-ru] [sitewait]
Backend UA sniffing, different content on same URL:

GET / HTTP/1.1
Host: www.yandex.ru
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
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nn-no,nn;q=0.9,no-no;q=0.8,no;q=0.6,nb-no;q=0.5,nb;q=0.4,en-us;q=0.3,en;q=0.1
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

HTTP/1.1 200 Ok
Server: nginx
Date: Mon, 26 Aug 2013 14:10:42 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Cache-Control: no-cache,no-store,max-age=0,must-revalidate
Expires: Mon, 26 Aug 2013 14:10:43 GMT
Last-Modified: Mon, 26 Aug 2013 14:10:43 GMT
P3P: policyref="/w3c/p3p.xml", CP="NON DSP ADM DEV PSD IVDo OUR IND STP PHY PRE NAV UNI"
Set-Cookie: yandexuid=8596517031377526243; Expires=Thu, 24-Aug-2023 14:10:42 GMT; Domain=.yandex.ru; Path=/
X-Frame-Options: DENY
X-XRDS-Location: http://openid.yandex.ru/server_xrds/
Content-Length: 28162

------------------------------------------------------------------
GET / HTTP/1.1
Host: www.yandex.ru
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: nn-no,nn;q=0.9,no-no;q=0.8,no;q=0.6,nb-no;q=0.5,nb;q=0.4,en-us;q=0.3,en;q=0.1
Accept-Encoding: gzip, deflate
DNT: 1
Cookie: yandexuid=1922449091377097967; fuid01=5214d8fc729d06d1.Iy13eaD8nzDGzSA6Xj_1-shZ1vUfrKWP9yyX7XXMMKLHs_hWWGB0ylLOBZVyuU9qqTOtQFzn9Utg6h-FM87XJqjPM-dJaBwluoACpyJvlmnMNbhMSMZWZW3zFa_ukQEy; z=m-desktop%3A1.661%3Al
Connection: keep-alive

HTTP/1.1 200 Ok
Server: nginx
Date: Mon, 26 Aug 2013 14:10:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Cache-Control: no-cache,no-store,max-age=0,must-revalidate
Expires: Mon, 26 Aug 2013 14:10:55 GMT
Last-Modified: Mon, 26 Aug 2013 14:10:55 GMT
P3P: policyref="/w3c/p3p.xml", CP="NON DSP ADM DEV PSD IVDo OUR IND STP PHY PRE NAV UNI"
X-Frame-Options: DENY
X-XRDS-Location: http://openid.yandex.ru/server_xrds/
Content-Length: 166939

------------------------------------------------------------------
Whiteboard: [uaoverride] [country-ru] [sitewait] → [uaoverride] [country-ru] [sitewait] [serversniff]
Status: NEW → ASSIGNED
Contacted two persons of Yandex with some details.
And Yandex is sending a mobile version of the content.
We receive a low-fi version, instead of the hi-fi version that Firefox Android is receiving. 
I will close for the UA override, but will continue the contact (and if not receiving a quick answer I will open a new bug).
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 932040
verified by testing extension
Status: RESOLVED → VERIFIED
See Also: → 1099122
See Also: → 1099105
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.