olx.com.br doesn't recognize B2G UA as mobile

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: lmandel, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [uaoverride] [country-br] [serversniff][contactready] , URL)

olx.com.br serves a desktop site to B2G. Bug 819210 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.

Updated

5 years ago
Whiteboard: [uaoverride] → [uaoverride] [country-br]

Comment 1

5 years ago
Server side user agent detection with redirection to a mobile device.
To be contacted so that any mobile devices receive the same content.


For testing purpose once the mobile domain has been accessed, the server sets a cookie which makes the device returns .


# Firefox OS

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.olx.com.br
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 24714
Content-Type: text/html; charset=utf-8
Date: Thu, 15 Aug 2013 19:47:46 GMT
P3P: policyref="http://www.olx.com/w3c/p3p.xml", CP="NON DSP COR CURa"
Server: Apache
Vary: Accept-Encoding

# Firefox for Android

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.olx.com.br
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Length: 0
Date: Thu, 15 Aug 2013 19:48:28 GMT
Location: http://m.olx.com.br/
Server: AkamaiGHost

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: m.olx.com.br
User-Agent: Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 2456
Content-Type: text/html; charset=utf-8
Date: Thu, 15 Aug 2013 19:50:38 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: Apache
Set-Cookie: olx_mobile_domain=53df6774619ff6cf67dca2bbea8d1112b285c68c%7Em.olx.com.br; expires=Sun, 25-Aug-2013 18:43:58 GMT; path=/
Set-Cookie: language=34203e97f3bf7912a0fccd34c534fc6ae24df380%7E11; path=/
Set-Cookie: session=ddc1a3595312a69397a2804817d64296; path=/
Vary: Accept-Encoding
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-br] → [uaoverride] [country-br] [serversniff]

Updated

5 years ago
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-br] [serversniff] → [uaoverride] [country-br] [serversniff][contactready]

Comment 2

5 years ago
As of today, still receiving desktop content.

Comment 3

5 years ago
Hi guys,

I am a mozillian and I also work for OLX. This problem should be fixed by now.

Cheers,
Santiago.

Comment 4

5 years ago
Santiago, wonderful. Thanks a lot.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Blocks: 948642
You need to log in before you can comment on or make changes to this bug.