incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Lunny (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-362) [ios] target="_blank" links should open in browser (ignoring externalhosts)
Date Thu, 05 Apr 2012 22:34:32 GMT


Andrew Lunny commented on CB-362:

I talked with Shaz about this offline; here's a summary of what I think

* we should have an API function for "open page in browser" that ignores the whitelist entirely.
Links to whitelisted domains should open in the webview.
* (more contentious) I think links to untrusted domains should always launch the browser.
If you don't like this, use ChildBrowser to intercept the click/touch events, or don't put
links to untrusted domains in your app.
* ignore target and UIWebViewNavigationTypeOther. A lot of extra complexity, and it won't
work cross platform anyway
* all iframe/XHR calls should be locked to the whitelist. This change would only affect "a"

> [ios] target="_blank" links should open in browser (ignoring externalhosts)
> ---------------------------------------------------------------------------
>                 Key: CB-362
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.5.0
>            Reporter: Andrew Lunny
>            Assignee: Shazron Abdullah
>              Labels: externalhosts, whitelist
>             Fix For: 1.7.0
> A link such as this:
> {noformat}<a href="" target="_blank">Google</a>{noformat}
> should open by default in the device's web browser, without being explicitly allowed
in the plist (externalhosts).
> This is the current (and, imo, expected) behaviour on Android.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message