Closed Bug 843129 Opened 11 years ago Closed 10 years ago

11870.com doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lmandel, Assigned: karlcow)

References

()

Details

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

11870.com 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: 11870.com
Whiteboard: [uaoverride]
Whiteboard: [uaoverride] → [uaoverride] [country-es]
The Web site is not always responsive. It fails.
But when it is, it sends desktop content to Firefox OS on the ZTE device + firefox os.



# firefox os

→ http --b GET http://11870.com/ User-Agent:"$FOSUA" | grep -i mobil
        <li class="is-mobile c3 s1">

We receive different content.


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

HTTP/1.1 200 OK
Cache-Control: must-revalidate, post-check=0, pre-check=0
Content-Encoding: gzip
Content-Language: es-ES
Content-Length: 7153
Content-Type: text/html;charset=utf-8
Date: Thu, 08 Aug 2013 20:03:04 GMT
Set-Cookie: JSESSIONID=AE660F97906E1ADE22B0064771330E12.node1; Domain=.11870.com; Path=/; HttpOnly
Set-Cookie: 11870_lang=es; Expires=Thu, 15-Aug-2013 20:03:04 GMT; Path=/
Set-Cookie: noticebar_cookie=1; Expires=Sun, 03-Aug-2014 20:03:04 GMT; Path=/
Vary: User-Agent,Accept-Encoding
X-UA-Compatible: IE=edge




# firefox for android

→ http --b GET http://11870.com/ User-Agent:"$FANUA" | grep -i mobil
  <meta name="MobileOptimized" content="320">
  <link rel="stylesheet" href="/oos/mobile-779d7d4a.css" />



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

HTTP/1.1 200 OK
Cache-Control: must-revalidate, post-check=0, pre-check=0
Content-Encoding: gzip
Content-Language: es-ES
Content-Length: 6083
Content-Type: text/html;charset=utf-8
Date: Thu, 08 Aug 2013 20:03:40 GMT
Set-Cookie: JSESSIONID=C56DA9B4534B3AAA2A9B79E5F5A7EC99.node1; Domain=.11870.com; Path=/; HttpOnly
Set-Cookie: 11870_lang=es; Expires=Thu, 15-Aug-2013 20:03:40 GMT; Path=/
Set-Cookie: noticebar_cookie=1; Expires=Sun, 03-Aug-2014 20:03:40 GMT; Path=/
Vary: Accept-Encoding
X-UA-Compatible: IE=edge
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-es] → [uaoverride] [country-es] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-es] [serversniff] → [uaoverride] [country-es] [serversniff] [contactready]
An attempt
http://twitter.com/MozWebCompat/status/408690892783222784
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [uaoverride] [country-es] [serversniff] [contactready] → [uaoverride] [country-es] [serversniff] [sitewait]
Tried to contact them again but this time we a spanish message.
http://twitter.com/MozWebCompat/status/435237010723184640
The first time it didn't trigger any answer in English.
Sent also to a developer(?) at 11870 http://twitter.com/MozWebCompat/status/435240669867540480
And this is resolved. 
http://twitter.com/davidfq/status/435802214158700545

Thanks a lot.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 965060
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.