Closed Bug 826720 Opened 9 years ago Closed 8 years ago

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

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Unassigned)

References

()

Details

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

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.
Whiteboard: [uaoverride] → [uaoverride] [country-br]
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]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-br] [serversniff] → [uaoverride] [country-br] [serversniff][contactready]
As of today, still receiving desktop content.
Hi guys,

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

Cheers,
Santiago.
Santiago, wonderful. Thanks a lot.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 948642
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.