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

Commit

Permalink
Merge pull request #34 from davidchiew/stringFormatBug
Browse files Browse the repository at this point in the history
Fixed issue where string.Format parameters were not in sequence
  • Loading branch information
justcoding121 committed Jan 20, 2016
2 parents a92ac4c + 9474c03 commit 60c23d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public void Ok(string html)
var result = Encoding.Default.GetBytes(html);

var connectStreamWriter = new StreamWriter(this.Client.ClientStream);
connectStreamWriter.WriteLine(string.Format("{0} {2} {3}", ProxySession.Request.HttpVersion, 200, "Ok"));
connectStreamWriter.WriteLine(string.Format("{0} {1} {2}", ProxySession.Request.HttpVersion, 200, "Ok"));
connectStreamWriter.WriteLine("Timestamp: {0}", DateTime.Now);
connectStreamWriter.WriteLine("content-length: " + result.Length);
connectStreamWriter.WriteLine("Cache-Control: no-cache, no-store, must-revalidate");
Expand Down

0 comments on commit 60c23d7

Please sign in to comment.