From: Dave Stubbs Date: Sun, 16 Aug 2009 16:00:59 +0000 (+0000) Subject: download a crossdomain policy for oauth X-Git-Tag: 0.5~645 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/ec097415fc362b9652b1d13fcc2ce29bb85e3788 download a crossdomain policy for oauth --- diff --git a/net/systemeD/halcyon/connection/XMLConnection.as b/net/systemeD/halcyon/connection/XMLConnection.as index 3000ce9c..ed6abbc1 100644 --- a/net/systemeD/halcyon/connection/XMLConnection.as +++ b/net/systemeD/halcyon/connection/XMLConnection.as @@ -15,6 +15,11 @@ package net.systemeD.halcyon.connection { if (Connection.policyURL!='') Security.loadPolicyFile(Connection.policyURL); + var oauthPolicy:String = Connection.getParam("oauth_policy", ""); + if ( oauthPolicy != "" ) { + trace(oauthPolicy); + Security.loadPolicyFile(oauthPolicy); + } } override public function loadBbox(left:Number,right:Number,