diff options
author | Georg Brandl <georg@python.org> | 2009-05-26 18:31:11 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-26 18:31:11 +0000 |
commit | faf4149f72575a826f65f7e0747254088195ef9b (patch) | |
tree | 1fdfc7d8f1f18776188e051e4a695866bc428ae2 /Lib/urllib/parse.py | |
parent | 8ca69de23772af21a2e697ab7e73a72e29ef178d (diff) | |
download | cpython-git-faf4149f72575a826f65f7e0747254088195ef9b.tar.gz |
#6118: dont ignore encoding arguments for arguments with spaces in quote_plus().
Diffstat (limited to 'Lib/urllib/parse.py')
-rw-r--r-- | Lib/urllib/parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 903368329b..726e85fb89 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -488,7 +488,7 @@ def quote_plus(string, safe='', encoding=None, errors=None): space = ' ' else: space = b' ' - string = quote(string, safe + space) + string = quote(string, safe + space, encoding, errors) return string.replace(' ', '+') def quote_from_bytes(bs, safe='/'): |