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

Sergey Grebnov commented on CB-7377:
------------------------------------

Propose to filter rules on Windows platform and apply **https** urls only. 
Others must be ignored with corresponding message in console log, for example

Access rules must begin with 'https://', the following rule is ignored: 
http://whatheaders.com

> Whitelist. Windows build error due to 'invalid URI rules in config.xml'
> -----------------------------------------------------------------------
>
>                 Key: CB-7377
>                 URL: https://issues.apache.org/jira/browse/CB-7377
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows 8
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>
> This occurs if config.xml contains access rule which does not use 'https://' 
> protocol.  Windows 8.1 and Windows Phone 8.1 targets which we recently added 
> support for support https only so we have the following build error as a 
> result.
> App manifest contains invalid content URI rules 'http://*'. The rule must 
> begin with 'https://' ...
> Repro steps 
> 1. Get and install: cordova-cli, cordova-js, all plugins,  cordova-windows, 
> cordova mobile-spec (mspec brunch)
> 2. Create mobilespec app using 
> cordova-mobile-spec/createmobilespec/createmobilespec
> 3. Add windows platform to created app
> 4. Build mobilespec app for windows



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

Reply via email to