cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-8374) Access origin/whitelist for iOS doesn't default to all if access element missing from config.xml
Date Wed, 28 Jan 2015 22:57:35 GMT

     [ https://issues.apache.org/jira/browse/CB-8374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah updated CB-8374:
---------------------------------
    Description: 
If  the <access origin="*"/> element is left out of the config.xml, the default does
not allow all URLs as it should, instead it is set only to the following in the CDVConfigParser.m
class:

{code}
        [self.whitelistHosts addObject:@"file:///*"];
        [self.whitelistHosts addObject:@"content:///*"];
        [self.whitelistHosts addObject:@"data:///*"];
{code}



  was:
If  the <access origin="*"/> element is left out of the config.xml, the default does
not allow all URLs as it should, instead it is set only to the following in the CDVConfigParser.m
class:

        [self.whitelistHosts addObject:@"file:///*"];
        [self.whitelistHosts addObject:@"content:///*"];
        [self.whitelistHosts addObject:@"data:///*"];





> Access origin/whitelist for iOS doesn't default to all if access element missing from
config.xml
> ------------------------------------------------------------------------------------------------
>
>                 Key: CB-8374
>                 URL: https://issues.apache.org/jira/browse/CB-8374
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.7.0
>         Environment: ios 
>            Reporter: Holly Schinsky
>            Priority: Minor
>
> If  the <access origin="*"/> element is left out of the config.xml, the default
does not allow all URLs as it should, instead it is set only to the following in the CDVConfigParser.m
class:
> {code}
>         [self.whitelistHosts addObject:@"file:///*"];
>         [self.whitelistHosts addObject:@"content:///*"];
>         [self.whitelistHosts addObject:@"data:///*"];
> {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


Mime
View raw message