Closed Bug 878649 Opened 8 years ago Closed 6 years ago

univision.com 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, Assigned: karlcow)

References

()

Details

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

univision.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.
Whiteboard: [uaoverride]
Interesting this site is managed in California for the spanish speaking communities. The Company Web site is at http://corporate.univision.com/.

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 http://www.univision.com/ 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
Location: http://movil.univision.com/apps/openpage/2011-07-25/univision-app-promo-page-iphone


→ http HEAD http://www.univision.com/ 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
Location: http://movil.univision.com/apps/openpage/2011-10-17/univision-app-promo-page-android-phone



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

HTTP/1.1 302 Moved Temporarily
Location: http://m.www.univision.com/




→ http HEAD http://www.univision.com/ 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 http://corporate.univision.com/contact/
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [serversniff] [sitewait]
Status: NEW → ASSIGNED
No change.
Trying to see if I can get a human person.
http://twitter.com/MozWebCompat/status/395958778471784448
Found another human person technical project manager http://twitter.com/MozWebCompat/status/425890300188315648
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.

[1]: https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference#Firefox_OS
Contact done. http://twitter.com/Viiveek83/status/433653076009181184
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.
Status: ASSIGNED → RESOLVED
Closed: 6 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.