mirror of
https://github.com/rclone/rclone.git
synced 2026-11-07 10:12:56 -05:00
HTTPConnectDial built the Basic credential from url.Userinfo.String(), which percent-encodes the user name and password. A proxy URL such as http://me%40example.com:p%40ss@proxy:3128 sent "me%40example.com:p%40ss" instead of "me@example.com:p@ss" and the proxy refused it. Use Username() and Password() like net/http does, which also always puts the ":" separator in.