Author: jfrederic.clere(a)jboss.com
Date: 2013-02-11 05:57:28 -0500 (Mon, 11 Feb 2013)
New Revision: 2159
Modified:
branches/7.2.x/src/main/java/org/jboss/web/rewrite/RewriteValve.java
Log:
Make sure the string (StringCache) is reset too.
Modified: branches/7.2.x/src/main/java/org/jboss/web/rewrite/RewriteValve.java
===================================================================
--- branches/7.2.x/src/main/java/org/jboss/web/rewrite/RewriteValve.java 2013-02-11
10:14:15 UTC (rev 2158)
+++ branches/7.2.x/src/main/java/org/jboss/web/rewrite/RewriteValve.java 2013-02-11
10:57:28 UTC (rev 2159)
@@ -429,6 +429,7 @@
urlString = urlString.substring(0, queryIndex);
}
// Set the new URL
+ request.getCoyoteRequest().requestURI().setString(null);
CharChunk chunk =
request.getCoyoteRequest().requestURI().getCharChunk();
chunk.recycle();
if (context) {
Show replies by date