You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/05/22 23:08:04 UTC
[jira] [Commented] (CB-10875) cordova build always set
NSAllowsArbitraryLoads to true in plist
[ https://issues.apache.org/jira/browse/CB-10875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020369#comment-16020369 ]
jcesarmobile commented on CB-10875:
-----------------------------------
I can't reproduce this with Cordova CLI 7.0.1
> cordova build always set NSAllowsArbitraryLoads to true in plist
> ----------------------------------------------------------------
>
> Key: CB-10875
> URL: https://issues.apache.org/jira/browse/CB-10875
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-lib
> Affects Versions: 5.4.1
> Environment: cordova-ios on 3.8.0, built on macos
> Reporter: Shan Lin
> Labels: triaged
>
> Using cordova 5.4.1, no matter how I set 'access origin' in config.xml, the ios plist file at the end has NSAllowsArbitraryLoads set to true. Steps to replicate: (1) make sure plist file doesn't have 'NSAppTransportSecurity' element. (2) edit config.xml to either remove <access origin='*'/> or set <access origin='https://*/*' /> (3) do 'cordova build ios' from command line, then exam the resulting plist file.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org