You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/11/28 22:52:44 UTC

docs commit: [CB-1940] Update iOS Whitelist Guide for new config.xml

Updated Branches:
  refs/heads/master df1820bfb -> 611323c6f


[CB-1940] Update iOS Whitelist Guide for new config.xml


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/611323c6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/611323c6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/611323c6

Branch: refs/heads/master
Commit: 611323c6f2de4955349486c26a5a72e1035adfd2
Parents: df1820b
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Nov 28 13:52:45 2012 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Nov 28 13:52:45 2012 -0800

----------------------------------------------------------------------
 docs/en/edge/guide/whitelist/index.md |   24 +++---------------------
 1 files changed, 3 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/611323c6/docs/en/edge/guide/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/whitelist/index.md b/docs/en/edge/guide/whitelist/index.md
index db29d2e..9ac7543 100644
--- a/docs/en/edge/guide/whitelist/index.md
+++ b/docs/en/edge/guide/whitelist/index.md
@@ -105,30 +105,12 @@ iOS
 
 ### Details
 
-1. Open `Cordova.plist`.
-    - In Xcode, it is found at `AppName/Resources/Cordova.plist`
-    - In the directory, it is found at `AppName/Cordova.plist`
-2. Add a new `String` value under the `ExternalHosts` key.
-    - We recommend using Xcode to avoid editing raw XML.
+The whitelisting rules are found in `AppName/config.xml` and declared with the element `<access origin="..." />`.
 
+iOS has full support for the whitelisting syntax.
 
-### Syntax
-
-Access to [google.com][2] and the secure [google.com][3] (`https://`):
 
-    google.com
-
-Access to the subdomain [maps.google.com][4]:
-
-    maps.google.com
-
-Access to all the subdomains on [google.com][2] (e.g. [mail.google.com][5] and [docs.google.com][6]):
-
-    *.google.com
-
-Access to all domains (e.g. [google.com][2] and [developer.mozilla.org][7]):
-
-    *
+### Syntax
 
 Wildcards on iOS (`*`) are more flexible than the [W3C Widget Access][1] specification.