add crossdomain.xml to allow flash to access oauth
authorDave Stubbs <osm@randomjunk.co.uk>
Sun, 16 Aug 2009 15:59:56 +0000 (15:59 +0000)
committerDave Stubbs <osm@randomjunk.co.uk>
Sun, 16 Aug 2009 15:59:56 +0000 (15:59 +0000)
public/oauth/crossdomain.xml [new file with mode: 0644]

diff --git a/public/oauth/crossdomain.xml b/public/oauth/crossdomain.xml
new file mode 100644 (file)
index 0000000..cbc8e25
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
+
+<cross-domain-policy>
+       <allow-access-from domain="*"/>
+       <allow-http-request-headers-from domain="*" headers="Authorization"/>
+       <allow-http-request-headers-from domain="*.openstreetmap.org" headers="*"/>
+       <allow-http-request-headers-from domain="*.openstreetmap.net" headers="*"/>
+       <allow-http-request-headers-from domain="*.openstreetmap.com" headers="*"/>
+</cross-domain-policy>