Open GoogleCodeExporter opened 9 years ago
That fix doesn't work. I changed the patch to this.
var userInfo = request.Address.UserInfo;
if (!string.IsNullOrEmpty(userInfo) && userInfo.Contains(':'))
{
string authInfo = userInfo.Split(':').First() + ":" + userInfo.Split(':').Last();
authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(authInfo));
request.Headers["Authorization"] = "Basic " + authInfo;
}
Original comment by kstrem...@gmail.com
on 8 Nov 2012 at 2:24
Original issue reported on code.google.com by
fri...@gmail.com
on 29 Oct 2011 at 12:23Attachments: