Commit bfa34032 authored by justcoding121's avatar justcoding121 Committed by justcoding121

Fix bug

parent 6a1b3596
...@@ -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