summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-09 20:34:20 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-09 20:34:20 +0200
commitd80f7542964b08a5202edef48661a02d7cf58643 (patch)
treeb99ecb69bfdcffc3716e2a1467433f8592eef782 /module
parentyoutube fix (diff)
downloadpyload-d80f7542964b08a5202edef48661a02d7cf58643.tar.xz
flashgot fix
Diffstat (limited to 'module')
-rw-r--r--module/web/cnl_app.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/web/cnl_app.py b/module/web/cnl_app.py
index 13ddab1ef..d8f7c1180 100644
--- a/module/web/cnl_app.py
+++ b/module/web/cnl_app.py
@@ -114,9 +114,12 @@ def addcrypted2():
else:
return "success\r\n"
+@route("/flashgot_pyload")
+@route("/flashgot_pyload", method="POST")
+@route("/flashgot")
@route("/flashgot", method="POST")
@local_check
-def flashgot(request):
+def flashgot():
if request.environ['HTTP_REFERER'] != "http://localhost:9666/flashgot" and request.environ['HTTP_REFERER'] != "http://127.0.0.1:9666/flashgot":
return HTTPError()