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

Subdomain whitelisting on bb10 does not match up with android

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      We need to support this format like the other platforms:

        <access origin="http://*.google.com" />
      

      See this file:

      bin/templates/project/cordova/lib/config-parser.js

      lines that are of interest:

      data.access.forEach(function (accessElement) {
      ...
      if (attribs.uri === "*" || attribs.origin === "*") {                             
      ...
      widgetConfig.accessList.push(createAccessListObj(attribs.uri || attribs.origin, attribs.subdomains));
      

        Attachments

          Activity

            People

            • Assignee:
              jsoref Josh Soref
              Reporter:
              jgee Jenny Gee
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: