diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2011-06-12 15:23:03 +0300 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2011-06-12 15:23:03 +0300 |
commit | 55b32a4e6e0b578226c89975e81ef286f0f9fba3 (patch) | |
tree | 5ee0810795dc00d55d6105564904e1e66c6d9147 /src | |
parent | 541779154be54e113ddd8bfac7245aed484e9ced (diff) | |
download | vdr-plugin-webvideo-55b32a4e6e0b578226c89975e81ef286f0f9fba3.tar.gz vdr-plugin-webvideo-55b32a4e6e0b578226c89975e81ef286f0f9fba3.tar.bz2 |
should use quote() instead of quote_plus()
Diffstat (limited to 'src')
-rw-r--r-- | src/webvicli/webvicli/menu.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webvicli/webvicli/menu.py b/src/webvicli/webvicli/menu.py index d8551a7..6ba91eb 100644 --- a/src/webvicli/webvicli/menu.py +++ b/src/webvicli/webvicli/menu.py @@ -168,9 +168,9 @@ class MenuItemSubmitButton: for sub in self.subitems: for key, val in sub.get_query().iteritems(): try: - parts.append('subst=' + \ - urllib.quote_plus(key.encode(self.encoding, 'ignore')) + ',' + \ - urllib.quote_plus(val.encode(self.encoding, 'ignore'))) + parts.append('subst=%s,%s' % \ + (urllib.quote(key.encode(self.encoding, 'ignore')), + urllib.quote(val.encode(self.encoding, 'ignore')))) except LookupError: pass |