Closed mislav closed 10 years ago
When auth credentials are embedded in a proxy URI string, such as:
http://user%40example.com:my%20password@example.com
reading user and password properties are going to return escaped values:
user
password
uri.user #=> "user%40example.com"
and you have to additionally unescape them to get real values. Ideally Ruby's URI would do that for us, but for some reason it doesn't.
affected code
When auth credentials are embedded in a proxy URI string, such as:
reading
user
andpassword
properties are going to return escaped values:and you have to additionally unescape them to get real values. Ideally Ruby's URI would do that for us, but for some reason it doesn't.
affected code