[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Remove Flash /crossdomain.xml from facilitator.
commit 540fda8e1f1f07567accf1972b7cfb39323f2f03
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed Jul 4 04:12:34 2012 -0700
Remove Flash /crossdomain.xml from facilitator.
---
facilitator.py | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/facilitator.py b/facilitator.py
index 83de49b..5ab7449 100755
--- a/facilitator.py
+++ b/facilitator.py
@@ -190,10 +190,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler):
path = urlparse.urlsplit(self.path)[2]
- if path == u"/crossdomain.xml":
- self.send_crossdomain()
- return
-
reg = REGS.fetch()
if reg:
log(u"proxy %s gets %s, relay %s (now %d)" %
@@ -235,19 +231,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler):
self.send_response(200)
self.end_headers()
- def send_crossdomain(self):
- crossdomain = """\
-<cross-domain-policy>
-<allow-access-from domain="*"/>
-</cross-domain-policy>
-"""
- self.send_response(200)
- # Content-Type must be one of a few whitelisted types.
- # http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html#_Content-Type_Whitelist
- self.send_header("Content-Type", "application/xml")
- self.end_headers()
- self.wfile.write(crossdomain)
-
def send_error(self, code, message = None):
self.send_response(code)
self.end_headers()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits