Closed Bug 826510 Opened 12 years ago Closed 6 years ago

r7.com doesn't recognize B2G UA as mobile

Categories

(Web Compatibility :: Site Reports, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lmandel, Unassigned)

References

()

Details

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

Attachments

(2 files, 1 obsolete file)

r7.com 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.
Firefox + Android
Safari  + iOS
Opera   + Android
redirects to http://m.r7.com/universalizationLayer/m/t/r7

Firefox OS
i server http://www.r7.com/


# Firefox OS

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

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: no-store
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 54703
Content-Type: text/html; charset=UTF-8
Date: Thu, 15 Aug 2013 18:57:52 GMT
Pragma: no-cache
Vary: Accept-Encoding

# Firefox for Android

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

HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 0
Date: Thu, 15 Aug 2013 18:57:59 GMT
Location: http://m.r7.com/
Server: AkamaiGHost


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

HTTP/1.1 302 Found
Accept-Ranges: bytes
Age: 112
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 174
Content-Type: text/html; charset=iso-8859-1
Date: Thu, 15 Aug 2013 18:59:07 GMT
Location: /wap/r7
Server: Apache
Vary: Accept-Encoding


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

HTTP/1.1 302 Found
Accept-Ranges: bytes
Age: 137
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 189
Content-Type: text/html; charset=iso-8859-1
Date: Thu, 15 Aug 2013 18:59:17 GMT
Location: /universalizationLayer/m/t/r7
Server: Apache
Vary: Accept-Encoding
Assignee: nobody → kdubost
Whiteboard: [uaoverride] → [uaoverride] [country-br] [serversniff]
Assignee: kdubost → nobody
Whiteboard: [uaoverride] [country-br] [serversniff] → [uaoverride] [country-br] [serversniff] [contactready]
Contacted through http://www.r7.com/institucional/comunicar-erro/index.html
Assignee: nobody → kdubost
Whiteboard: [uaoverride] [country-br] [serversniff] [contactready] → [uaoverride] [country-br] [serversniff] [sitewait]
Interesting when we type directly http://m.r7.com/ we get a very functional web site which is at 
http://m.r7.com/universalizationLayer/m/t/r7

Except for photos, where we get "Block Not Available".
Trying twitter as I never got an answer through the Web form. http://twitter.com/MozWebCompat/status/390536099762024448
Status: NEW → ASSIGNED
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
There is a dependency on video not playing on the mobile version of the site. See the block from Bug 922000 added by Adam. Thanks Adam, I had missed that.
r7.com is not solved yet. Careful there is UA override.
We are still receiving the Desktop version.

Recontacted
http://twitter.com/MozWebCompat/status/513903250177679360
Attachment #8563711 - Attachment is obsolete: true
putting back to needscontact.
Whiteboard: [uaoverride] [country-br] [serversniff] [sitewait] → [uaoverride] [country-br] [serversniff] [needscontact]
Attached image r7.com-rendering.jpg
Differences for the exact same rendering engine with different UA.
Priority: -- → P5
The Firefox OS project is not active anymore.
Assignee: kdubost → nobody
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
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.

Attachment

General

Created:
Updated:
Size: