diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-09 20:34:20 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-09 20:34:20 +0200 |
commit | d80f7542964b08a5202edef48661a02d7cf58643 (patch) | |
tree | b99ecb69bfdcffc3716e2a1467433f8592eef782 /module/web | |
parent | youtube fix (diff) | |
download | pyload-d80f7542964b08a5202edef48661a02d7cf58643.tar.xz |
flashgot fix
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/cnl_app.py | 5 |
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() |