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

ASF subversion and git services commented on CB-8941:
-----------------------------------------------------

Commit 17da3f73583b60cac2d4f5689eeaba5c17697bf6 in cordova-blackberry's branch 
refs/heads/master from [~timwindsor]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=17da3f7 ]

CB-8941 Adds support for subdomain whitelisting

Finds //*. in access origins and creates access objects with the base domain 
and subdomains set true.

github: close #187


> 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
>            Assignee: Josh Soref
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to