Author: markt
Date: Thu Jan 14 19:39:28 2016
New Revision: 1724673

URL: http://svn.apache.org/viewvc?rev=1724673&view=rev
Log:
Follow up to r1724427
Need to copy the character set when duplicating the MessageBytes.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java?rev=1724673&r1=1724672&r2=1724673&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java Thu Jan 14 
19:39:28 2016
@@ -462,6 +462,7 @@ public final class MessageBytes implemen
             this.setString( sc );
             break;
         }
+        setCharset(src.getCharset());
     }
 
     // -------------------- Deprecated code --------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to