{ "id": "63145", "key": "TIMOB-2513", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11238", "name": "Release 1.6.0 M05", "archived": true, "released": true, "releaseDate": "2011-01-17" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:21:40.000+0000", "created": "2011-04-15T03:21:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "release-1.6.0", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T20:59:14.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

See this HD ticket:
\nhttp://developer.appcelerator.com/helpdesk/view/58771

\n

Basically this url: http://blog.peirce.edu/feeds/posts/default?alt=rss\nredirects to this url: http://feeds.feedburner.com/PeirceConnections

\n

This error is generated in Ti Developers console:
\n[ERROR] Error loading: , Error: Error\nDomain=WebKitErrorDomain Code=102 \"Frame load interrupted\"\nUserInfo=0x6b3ab30 {NSErrorFailingURLKey=http://feeds.feedburner.com/PeirceConnections,\nNSErrorFailingURLStringKey=http://feeds.feedburner.com/PeirceConnections,\nNSLocalizedDescription=Frame load interrupted}

\n

Tested on iOS 4.2,4.1 with Ti SDK 1.4.3 & 1.5

{html}", "attachment": [], "flagged": false, "summary": "Webview does not follow redirects on iOS", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128671", "author": { "name": "szul", "key": "szul", "displayName": "szul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

To elaborate on this issue, my primary concern isn't with the\nredirect from the RSS feed to FeedBurner, but with the proxy URL's\nthat exist inside of the FeedBurner feed. To summarize the HD\nticket mentioned above, I loop through the items in the FeedBurner\nfeed to create a table view containing the titles of the blog\nposts. Onclick of the table view creates a modal window that pans\nup on the iPad containing a web view that loads the URL associated\nwith each item in the RSS feed. This URL contains tracking\ninformation. Once FeedBurner registers that tracking information,\nit redirects to the actual blog post URL. This is where the URL is\nfailing to redirect - on the individual item.

{html}", "updateAuthor": { "name": "szul", "key": "szul", "displayName": "szul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:21:39.000+0000", "updated": "2011-04-15T03:21:39.000+0000" }, { "id": "128672", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

After some investigating, the issue isn't redirects. It turns\nout that it's redirecting fine. I was able to recreate the issue\noutside of titanium, even without a redirect (IE, requesting the\nurl directly), and the frame load bug still persisted.

\n

It's because the iPhone does not have an RSS reader built-in to\nthe webView.

\n

When you put the url into Safari, it redirects to \nhttp://reader.mac.com/mobile/v1/http%3A%2F%2Ffeeds.feedburner.com%2...\nthat decodes and makes an HTML page with the RSS's contents. If you\ntry to enter this url in a native web view (IE, even outside\nTitanium with Apple's default useragent), you'll be greeted with a\npage blocking access.

\n

In short, the redirect works, but an RSS viewer is not\nimplemented by Apple for use in an iPhone app. The RSS parsing and\npresentation is left to the developer.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:21:40.000+0000", "updated": "2011-04-15T03:21:40.000+0000" }, { "id": "128673", "author": { "name": "szul", "key": "szul", "displayName": "szul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Can you verify that this problem exists in conjunction with my\ncomments directly under the initial post? This issue came from my\nHelpDesk ticket, and isn't actually with the initial URL and\nredirect, but instead the URL's that exist inside of the RSS feed.\nI am able to consume the RSS feed and display a table view with\nexcerpted content; however, the link URL that is present for each\nRSS item entry is a Google/Feedburner URL that redirects to the\nactual HTML blog post on the Internet. It is this redirect that is\nactually causing me an issue.

{html}", "updateAuthor": { "name": "szul", "key": "szul", "displayName": "szul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:21:40.000+0000", "updated": "2011-04-15T03:21:40.000+0000" }, { "id": "128674", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Okay, I tried again, this time with viewing the RSS in a desktop\nbrowser, then copying the URLs contained within. E.g.,

\n
\nvar win = Titanium.UI.currentWindow;\nvar webby = Ti.UI.createWebView({url:'http://feedproxy.google.com/~r/PeirceConnections/~3/uL-Ou178TcQ/career-resolutions-for-2011.html'});\nwin.add(webby);\n
\n

The page loaded fine for me. Is this what you mean?

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:21:41.000+0000", "updated": "2011-04-15T03:21:41.000+0000" }, { "id": "128675", "author": { "name": "szul", "key": "szul", "displayName": "szul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Yes. What version of the Titanium mobile SDK are you using? This\nwas an issue for me in 1.4.2, 1.4.3 and 1.5 prior to the official\n1.5 release. As a workaround, I used the feed URL that the\nmarketing people delivery to Feedburner rather than the Feedburner\nURL. If your SDK is greater than the 1.5 pre-release that was used\nwhen this ticket was first created, then feel free to close this\nticket as fixed. I'll rewrite my code to use the FeedBurner URL the\nnext chance I get and use the HelpDesk if any issues arise.

{html}", "updateAuthor": { "name": "szul", "key": "szul", "displayName": "szul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:21:41.000+0000", "updated": "2011-04-15T03:21:41.000+0000" }, { "id": "408491", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T20:59:14.000+0000", "updated": "2017-03-02T20:59:14.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }