Commit 6cc7125d authored by titanium007's avatar titanium007

Fix bug

parent fcedf559
...@@ -141,7 +141,7 @@ namespace Titanium.Web.Proxy.Test ...@@ -141,7 +141,7 @@ namespace Titanium.Web.Proxy.Test
string modifiedResponseHtmlBody = RE.Replace(responseHtmlBody, "<script type =\"text/javascript\">" + script + "</script></body>", 1); string modifiedResponseHtmlBody = RE.Replace(responseHtmlBody, "<script type =\"text/javascript\">" + script + "</script></body>", 1);
if (modifiedResponseHtmlBody.Length != responseHtmlBody.Length) if (modifiedResponseHtmlBody.Length != responseHtmlBody.Length)
{ {
e.SetRequestHtmlBody(modifiedResponseHtmlBody); e.SetResponseHtmlBody(modifiedResponseHtmlBody);
_URLList.Add(RandomURLEnding); _URLList.Add(RandomURLEnding);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment