commit 540fda8e1f1f07567accf1972b7cfb39323f2f03 Author: David Fifield david@bamsoftware.com 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#_Con... - 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@lists.torproject.org