diff options
author | Richard Jones <richard@mechanicalcat.net> | 2012-07-24 09:39:00 +1000 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2012-07-24 09:39:00 +1000 |
commit | 27223c126974574896dc18fc631ff51856f8dfef (patch) | |
tree | e54dca08ff9d5e92df5fbadb408b3426931a5e0c /oauth.py | |
parent | 1b2b048c9036af40a145b8ac4847d60d9d463541 (diff) | |
download | decorator-27223c126974574896dc18fc631ff51856f8dfef.tar.gz |
fixes to OAuth; in particular the escaping of & was incorrect in upstream oauth.py, but also some tightening of the API
Diffstat (limited to 'oauth.py')
-rw-r--r-- | oauth.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ def build_authenticate_header(realm=''): def escape(s): """Escape a URL including any /.""" - return urllib.quote(s, safe='~&') + return urllib.quote(s, safe='~') def _utf8_str(s): """Convert unicode to utf-8.""" |