You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/05/05 23:57:16 UTC

[jira] [Updated] (CB-2451) HTML5 audio/video tags bypass the whitelist

     [ https://issues.apache.org/jira/browse/CB-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-2451:
---------------------------------

    Assignee:     (was: James Jong)

> HTML5 audio/video tags bypass the whitelist
> -------------------------------------------
>
>                 Key: CB-2451
>                 URL: https://issues.apache.org/jira/browse/CB-2451
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0, 2.4.0
>            Reporter: Shazron Abdullah
>              Labels: core
>
> Looks like audio/video tags do bypass the whitelist due to our recent changes. This line returns nil when it shouldn't:
> https://github.com/apache/cordova-ios/blob/e8a740176a465092b0d55dc9aee9a3e0ac314691/CordovaLib/Classes/CDVURLProtocol.m#L107
> Tested using: 
> {code}
>         <audio controls="controls">
>             <source src="http://cordova.apache.org/downloads/BlueZedEx.mp3" />
>         </audio>
> {code}
> and in config.xml:
> {code}
>         <access origin="http://google.com" />
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)