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 2015/10/06 01:00:35 UTC

cordova-plugins git commit: CB-9646 - Support tag use instead of direct ATS Info.plist entry in cordova-labs-wkwebview-engine-localhost

Repository: cordova-plugins
Updated Branches:
  refs/heads/master 2e2830935 -> 3aee91193


CB-9646 - Support <access> tag use instead of direct ATS Info.plist entry in cordova-labs-wkwebview-engine-localhost


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugins/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugins/commit/3aee9119
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugins/tree/3aee9119
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugins/diff/3aee9119

Branch: refs/heads/master
Commit: 3aee91193c1b2d1f3dea275dd177ed6c5cf43a5c
Parents: 2e28309
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Oct 5 16:00:28 2015 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 5 16:00:28 2015 -0700

----------------------------------------------------------------------
 local-webserver/plugin.xml | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/3aee9119/local-webserver/plugin.xml
----------------------------------------------------------------------
diff --git a/local-webserver/plugin.xml b/local-webserver/plugin.xml
index aaca9a7..5c6c060 100644
--- a/local-webserver/plugin.xml
+++ b/local-webserver/plugin.xml
@@ -41,22 +41,10 @@
 			    <param name="onload" value="true"/>
 		    </feature>
             <preference name="CordovaLocalWebServerStartOnSimulator" value="true" />
+			<access origin="http://localhost" />
         </config-file>
+		
         
-		<!-- temporary, until access tags translate into ATS directives in CB-9569 -->
-		<config-file target="*-Info.plist" parent="NSAppTransportSecurity">
-		    <dict>
-		        <key>NSExceptionDomains</key>
-		        <dict>
-		            <key>localhost</key>
-		            <dict>
-		                <key>NSExceptionAllowsInsecureHTTPLoads</key>
-		                <true/>
-		            </dict>  
-		        </dict>  
-		    </dict>
-		</config-file>
-			
 	    <header-file src="src/ios/CDVLocalWebServer.h" />
 	    <source-file src="src/ios/CDVLocalWebServer.m" />
 


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