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

ASF subversion and git services commented on CB-10025:
------------------------------------------------------

Commit 10e17d6d0102926c4a88948ea922fc269abe7cf3 in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=10e17d6 ]

CB-10025 - CDVWhiteList can't parse URIs that don't have double slashes after 
the scheme


> CDVWhiteList can't parse URIs that don't have double slashes after the scheme
> -----------------------------------------------------------------------------
>
>                 Key: CB-10025
>                 URL: https://issues.apache.org/jira/browse/CB-10025
>             Project: Apache Cordova
>          Issue Type: Sub-task
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> e.g
> tel:1234567890
> mailto:[email protected]
> Separate the parsing behaviour so it is testable. Then, add failing tests 
> first, then fix it. 
> Future: 
> Replace regex parsing with just NSURL, then parse the wildcard bits 
> explicitly for items that cannot be parsed. This is more readable and 
> maintanable. Doubt there are any significant speedups with regex here anyway 
> since URL loading in Cordova through links are not time sensitive (since gap: 
> urls are not put through the whitelist).
> Only anchor tag links are put through the whitelist with the new re-factor 
> (further processed whether they are <allow-intent> and <allow-navigation>, 
> everything else is loaded by the webview.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to