summaryrefslogtreecommitdiff
path: root/onionshare
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-05-29 19:27:21 -0700
committerMicah Lee <micah@micahflee.com>2019-05-29 19:27:21 -0700
commitc3ba542ecb1aaa3e8b7b5cab4395595e184a860a (patch)
tree99e08a8154a97e75ab8f00508c3b71834db2b6ca /onionshare
parent12392378d1c90d2bb023f0eb287948af208391cc (diff)
downloadonionshare-c3ba542ecb1aaa3e8b7b5cab4395595e184a860a.tar.gz
onionshare-c3ba542ecb1aaa3e8b7b5cab4395595e184a860a.zip
Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed
Diffstat (limited to 'onionshare')
-rw-r--r--onionshare/web/web.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/onionshare/web/web.py b/onionshare/web/web.py
index 1e040b54..1d2a3fec 100644
--- a/onionshare/web/web.py
+++ b/onionshare/web/web.py
@@ -164,15 +164,6 @@ class Web(object):
return ""
abort(404)
- @self.app.route("/noscript-xss-instructions")
- def noscript_xss_instructions():
- """
- Display instructions for disabling Tor Browser's NoScript XSS setting
- """
- r = make_response(render_template('receive_noscript_xss.html',
- static_url_path=self.static_url_path))
- return self.add_security_headers(r)
-
def error401(self):
auth = request.authorization
if auth: