summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPRequest.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-03-07 22:27:53 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-03-07 22:27:53 +0100
commit5a1cd89497598daffdd643114db7a033cf46a807 (patch)
treeaeee3e995711456f569bfe80738f8d26282e28b4 /module/network/HTTPRequest.py
parentbayfiles.com premium, fix hellshare.cz (diff)
downloadpyload-5a1cd89497598daffdd643114db7a033cf46a807.tar.xz
AllDebrid plugin by Andy, Voigt; closed #555; generic XFileSharingPro plugin
Diffstat (limited to 'module/network/HTTPRequest.py')
-rw-r--r--module/network/HTTPRequest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py
index 40f18f2a5..d4c33bbff 100644
--- a/module/network/HTTPRequest.py
+++ b/module/network/HTTPRequest.py
@@ -31,6 +31,7 @@ def myquote(url):
return quote(url.encode('utf_8') if isinstance(url, unicode) else url, safe="%/:=&?~#+!$,;'@()*[]")
def myurlencode(data):
+ data = dict(data)
return urlencode(dict((x.encode('utf_8') if isinstance(x, unicode) else x, \
y.encode('utf_8') if isinstance(y, unicode) else y ) for x, y in data.iteritems()))