You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "James Jong (JIRA)" <ji...@apache.org> on 2013/08/08 21:24:47 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 ]
James Jong updated CB-2451:
---------------------------
Fix Version/s: (was: 3.1.0)
> 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
> Assignee: James Jong
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira