URL Rewriting in Response Filter
<p>We are attempting to rewrite some URLs in our response for an outside proxy server. We  noticed that the response is being broken up as it goes through the response filter. We then use regular expressions to locate the URLs and rewrite them. The issue we ran into is that the way that it is broken up (not exactly sure how it gets segmented), we had one URL that was being cut in half between the chunks, and so our regular expression didn't pick it up in either chunk and it was not rewritten.</p>

<p>Ex.</p>

<p>End of Chunk1</p>

<pre><code>"...&lt;body&gt;&lt;a href="http://myserver.local/"&gt;
</code></pre>

<p>Start of Chunk2</p>

<pre><code>"path/file.aspx"&gt;Some link&lt;/a&gt;..."
</code></pre>

<p>So our regular expression doesn't pick up the link as a valid URL. We tried pooling our response into a StringBuilder to make sure we have the whole response before we attempt to rewrite the URLs, but that is resulting in the viewstate being corrupted. Any ideas?</p>
