[
https://issues.apache.org/jira/browse/CB-10624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150906#comment-15150906
]
ASF GitHub Bot commented on CB-10624:
-------------------------------------
Github user csantanapr commented on the pull request:
https://github.com/apache/cordova-plugin-whitelist/pull/17#issuecomment-185330171
I agree we should remove the file all together is not required for
functionality that the plugin offers.
@infil00p Are you OK with the removal of the js file?
@infil00p the error message is anorying and confusing to developers in the
console.
CSP is not required for the Whitelist code to work. I think we should also
move the CSP info from the README to the Security Guide in the docs, it gives
the false impresion that the cordova plugin is parsing the CSP tag and
processing and doing something with it.
> whitelist.js shouldn't detect for CSP and throw error message
> -------------------------------------------------------------
>
> Key: CB-10624
> URL: https://issues.apache.org/jira/browse/CB-10624
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Whitelist
> Reporter: Edna Morales
> Assignee: Edna Morales
> Priority: Minor
>
> Whitelist plugin throws "No Content-Security-Policy meta tag found. Please
> add one when using the cordova-plugin-whitelist plugin." error. whitelist.js
> shouldn't detect for CSP and throw an error if not present since it's only
> applicable to Android and is not necessary for the whitelist plugin to work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]