You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jenny Gee (JIRA)" <ji...@apache.org> on 2015/04/30 23:03:06 UTC

[jira] [Created] (CB-8941) Subdomain whitelisting on bb10 does not match up with android

Jenny Gee created CB-8941:
-----------------------------

             Summary: Subdomain whitelisting on bb10 does not match up with android
                 Key: CB-8941
                 URL: https://issues.apache.org/jira/browse/CB-8941
             Project: Apache Cordova
          Issue Type: Bug
          Components: BlackBerry
    Affects Versions: 5.0.0
            Reporter: Jenny Gee
            Priority: Minor


We need to support this format like the other platforms:

{code:xml}
  <access origin="http://*.google.com" />
{code}

See this file:

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

lines that are of interest:

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





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org