You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/08/26 10:49:58 UTC

[jira] [Comment Edited] (CB-7377) Whitelist. Windows build error due to 'invalid URI rules in config.xml'

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

Sergey Grebnov edited comment on CB-7377 at 8/26/14 8:49 AM:
-------------------------------------------------------------

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

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


was (Author: sgrebnov):
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)