Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 364c54f

Browse files
author
Paul S
committed
Add back missing CRLF on upstream proxy auth header.
1 parent 5cecf4f commit 364c54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Titanium.Web.Proxy/Http/HttpWebClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ await writer.WriteLineAsync(Request.CreateRequestLine(Request.Method,
113113
{
114114
headerBuilder.AppendFormat("{0}{1}", HttpHeader.ProxyConnectionKeepAlive, CRLF);
115115
headerBuilder.AppendFormat("{0}{1}",
116-
HttpHeader.GetProxyAuthorizationHeader(upstreamProxy.UserName, upstreamProxy.Password));
116+
HttpHeader.GetProxyAuthorizationHeader(upstreamProxy.UserName, upstreamProxy.Password), CRLF);
117117
}
118118

119119
// write request headers

0 commit comments

Comments
 (0)