Closed Bug 878649 Opened 10 years ago Closed 8 years ago doesn't recognize B2G UA as mobile


(Web Compatibility :: Mobile, defect)

Gonk (Firefox OS)
Not set


(Not tracked)



(Reporter: lmandel, Assigned: karlcow)




(Whiteboard: [uaoverride] [country-mx] [serversniff] [sitewait]) 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.
Whiteboard: [uaoverride]
Interesting this site is managed in California for the spanish speaking communities. The Company Web site is at

CONFIRMED. Firefox OS doesn't receive the mobile site when Firefox for Android and android stock browser does.

Iphone (Safari), Android (Chrome) gets a respective splash page for downloading an app before being redirected to the mobile site. Firefox for Android gets redirected to the mobile site. Firefox OS receives the desktop site.

Server Side user agent detection, redirection to another domain.

→ http HEAD User-Agent:'Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; fr-fr) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20' 

HTTP/1.1 302 Moved Temporarily

→ http HEAD User-Agent:'Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19' 

HTTP/1.1 302 Moved Temporarily

→ http HEAD User-Agent:'Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0'

HTTP/1.1 302 Moved Temporarily

→ http HEAD User-Agent:'Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0'

HTTP/1.1 200 OK
Whiteboard: [uaoverride] → [uaoverride] [country-all]
Whiteboard: [uaoverride] [country-all] → [uaoverride] [country-all] [serversniff]
sent message to
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [serversniff] [sitewait]
No change.
Trying to see if I can get a human person.
Found another human person technical project manager
Suggestion for fixing the issue. Sending the same version of the site to Firefox OS than Firefox Android.

The [UA string for Firefox OS][1] has the patterns

    "Mozilla/5.0 (Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
    "Mozilla/5.0 (Mobile; nnnn; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"

* where `$VERSION` is a number.
* where `nnnn` is a string.

but we usually recommend to identify the substring `/mobi/` as much as possible so it will also help other browser vendors on mobile.

Contact done.
Sent the information about the bug.
Whiteboard: [uaoverride] [country-all] [serversniff] [sitewait] → [uaoverride] [country-mx] [serversniff] [sitewait]
This was resolved. :) We just forgot to switch the trigger.
Closed: 8 years ago
Resolution: --- → FIXED
Remove UA override for this domain in bug 1171828
Blocks: 1171828
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.