From: Cory Benfield Date: Sun, 12 Jan 2014 14:46:40 +0000 (+0000) Subject: Don't need to unquote twice. X-Git-Tag: v2.2.1~6^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b4e9aff0ea2d0876de33f57cece4b06fe4bc194;p=services%2Fpython-requests.git Don't need to unquote twice. --- diff --git a/requests/adapters.py b/requests/adapters.py index 43addb1..dd10e95 100644 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -286,10 +286,6 @@ class HTTPAdapter(BaseAdapter): username, password = get_auth_from_url(proxy) if username and password: - # Proxy auth usernames and passwords will be urlencoded, we need - # to decode them. - username = unquote(username) - password = unquote(password) headers['Proxy-Authorization'] = _basic_auth_str(username, password)