incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-362) [ios] target="_blank" links should open in browser (ignoring externalhosts)
Date Thu, 29 Mar 2012 23:23:29 GMT

    [ https://issues.apache.org/jira/browse/CB-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241917#comment-13241917
] 

Patrick Mueller commented on CB-362:
------------------------------------

Clarification?  When you say:

bq. If it's an anchor tag with NO target attribute - it can ONLY load file urls, no http urls.
Thus only local files can be loaded in the UIWebView in this situation.

bq. If it's an anchor tag WITH a target attribute - it can ONLY load external http urls, no
file urls (besides Mobile Safari won't display any file urls). Thus only external files can
be loaded in Mobile Safari in this situation.

Do you mean:

* users must only use file urls with no target, and only use http urls with target? 
* iOS only allows you to use file urls with no target, and only http urls with target?

If it's the 1st, it sounds like you are expecting to doc this behavior.  What happens if they
don't follow our guidance?  Can we validate it somehow (seems unlikely)?  

I can certainly understand not allowing Mobile Safari to open file:// URLs.  Do they allow
that already?  I don't understand not allowing an http URL to be loaded into a WebView.

Does Android have all this same behavior?

Does this just apply to target=_blank, or any <a target=>?  What about the other magical
targets?  What about plain old user-named targets?
                
> [ios] target="_blank" links should open in browser (ignoring externalhosts)
> ---------------------------------------------------------------------------
>
>                 Key: CB-362
>                 URL: https://issues.apache.org/jira/browse/CB-362
>             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="http://google.com" 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message