diff options
| author | Sergey Schetinin <sergey@maluke.com> | 2011-12-26 12:40:26 +0200 |
|---|---|---|
| committer | Sergey Schetinin <sergey@maluke.com> | 2011-12-26 12:40:26 +0200 |
| commit | d4d36ab34de30f7f2394f4b33b36f75da40e4b62 (patch) | |
| tree | 6f3857ec38532ddc410383ddeac9687c99fec2a1 /webob/compat.py | |
| parent | ade7629dd4a0fd1556eeff60ac119ece72f46d5e (diff) | |
| download | webob-d4d36ab34de30f7f2394f4b33b36f75da40e4b62.tar.gz | |
fix https://github.com/Pylons/webob/issues/18 (non-ascii form POST, then parse, then serialize)
Diffstat (limited to 'webob/compat.py')
| -rw-r--r-- | webob/compat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webob/compat.py b/webob/compat.py index 7cda0c4..6a87516 100644 --- a/webob/compat.py +++ b/webob/compat.py @@ -52,10 +52,11 @@ if PY3: # pragma: no cover from urllib import parse urlparse = parse from urllib.parse import quote as url_quote - from urllib.parse import urlencode as url_encode + from urllib.parse import urlencode as url_encode, quote_plus from urllib.request import urlopen as url_open else: import urlparse + from urllib import quote_plus from urllib import quote as url_quote from urllib import unquote as url_unquote from urllib import urlencode as url_encode |
