From 903d1d1a38654356c5f35c27392531c4164cb1c0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 21 Jun 2009 16:26:27 +0200 Subject: [PATCH] Source download handler doesn't send 403 if user agent doesn't match. --- source/dlhandler.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/dlhandler.py b/source/dlhandler.py index 3e7cec80..6b135fbb 100644 --- a/source/dlhandler.py +++ b/source/dlhandler.py @@ -160,9 +160,6 @@ def main(): file = cgi.FieldStorage().getfirst("file") path = cgi.FieldStorage().getfirst("path") - if not os.environ["HTTP_USER_AGENT"].startswith("IPFireSourceGrabber"): - give_403() - if not file: give_302() -- 2.47.3