summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app/cnl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/webui/app/cnl.py')
-rw-r--r--pyload/webui/app/cnl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/webui/app/cnl.py b/pyload/webui/app/cnl.py
index fb64cbc5c..c02e0d1ff 100644
--- a/pyload/webui/app/cnl.py
+++ b/pyload/webui/app/cnl.py
@@ -4,8 +4,8 @@ from __future__ import with_statement
import os
import re
+import urllib
-from urllib import unquote
from base64 import standard_b64decode
from binascii import unhexlify
@@ -80,7 +80,7 @@ def addcrypted2():
crypted = request.forms['crypted']
jk = request.forms['jk']
- crypted = standard_b64decode(unquote(crypted.replace(" ", "+")))
+ crypted = standard_b64decode(urllib.unquote(crypted.replace(" ", "+")))
if JS:
jk = "%s f()" % jk
jk = JS.eval(jk)