Closed Bug 981829 Opened 6 years ago Closed 6 years ago

Chicago Tribune - redirection loop with Firefox for Android UA

Categories

(Web Compatibility :: Mobile, defect)

All
Android
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kbrosnan, Assigned: karlcow)

References

()

Details

(Whiteboard: [serversniff] [country-us] [sitewait])

GET www.chicagotribune.com -> 302 -> mobile.chicagotribune.com
GET mobile.chicagotribune.com -> 301 -> www.chicagotribune.com
GET www.chicagotribune.com -> 302 -> mobile.chicagotribune.com

This repeats till you get the redirect error page. The product behind this site seems to be "Olive Mobile Viewer" http://www.olivesoftware.com/
Assignee: nobody → kdubost
Whiteboard: [serversniff] [country-us]
When the user is entering www.chicagotribune.com

1. On an iPhone, it is redirected to my.chicagotribune.com which is basically an empty HTML template loading content dynamically through JavaScript. After tests, it is working well on Gecko rendering engine (so Firefox OS and Firefox for Android).

2. On smartphone with Firefox OS, it stays on www.chicagotribune.com which is the desktop content (not responsive). So users have to pan/zoom in and zoom out.

3. On Firefox Android, we enter in an infinite loop in between www.* and mobile.* domain names. Users can never reach the site.




# HTTP Transactions

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.chicagotribune.com
User-Agent:  Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; da-dk) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5

HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 0
Date: Mon, 10 Mar 2014 23:08:51 GMT
Location: http://my.chicagotribune.com/
Server: AkamaiGHost


it is triggered by "User-Agent: iphone" only too.

GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: my.chicagotribune.com
User-Agent:  Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; da-dk) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5

HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Origin: http://*.chicagotribune.com/
Cache-Control: max-age=154
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 2665
Content-Type: text/html
Date: Mon, 10 Mar 2014 23:09:51 GMT
ETag: "2685a0edc639cf1:0"
Last-Modified: Fri, 07 Mar 2014 05:34:37 GMT
Server: Microsoft-IIS/7.0
Vary: Accept-Encoding
X-Powered-By: ASP.NET

The content is then 

    <!-- Put phones in their place -->
    <title>Chicago Tribune</title>
    <meta name="HandheldFriendly" content="True" />
	<meta name="MobileOptimized" content="320" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="apple-mobile-web-app-title" content="Tribune">
Status: NEW → ASSIGNED
To fix this issue, you may want to identify in the user agent string:
/mobi/i and redirects to my.chicagotribune.com

To note that the site http://my.chicagotribune.com/ is working well on any devices (with JavaScript on).
Whiteboard: [serversniff] [country-us] → [serversniff] [country-us] [contactready]
attempt at contacting.
http://twitter.com/MozWebCompat/status/469367623113658369
Whiteboard: [serversniff] [country-us] [contactready] → [serversniff] [country-us] [sitewait]
whoops, wrong bug #, my bad! :(
Blocks: 1043744
The infinite loop redirection is FIXED BUT
Now both Firefox OS and Firefox Android receives the desktop version instead of the Mobile version.

Opening Bug 1043744
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.