Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7377

Whitelist. Windows build error due to 'invalid URI rules in config.xml'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-windows
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            sgrebnov Sergey Grebnov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: