Author: remy.maucherat(a)jboss.com
Date: 2013-03-12 12:54:51 -0400 (Tue, 12 Mar 2013)
New Revision: 2175
Modified:
branches/8.0.x/src/main/java/org/apache/tomcat/util/buf/B2CConverter.java
Log:
Port minor fix: some encodings take a lot of bytes ...
Modified: branches/8.0.x/src/main/java/org/apache/tomcat/util/buf/B2CConverter.java
===================================================================
--- branches/8.0.x/src/main/java/org/apache/tomcat/util/buf/B2CConverter.java 2013-03-06
16:31:29 UTC (rev 2174)
+++ branches/8.0.x/src/main/java/org/apache/tomcat/util/buf/B2CConverter.java 2013-03-12
16:54:51 UTC (rev 2175)
@@ -52,7 +52,7 @@
} catch (UnsupportedCharsetException e) {
throw new UnsupportedEncodingException(charset);
}
- byte[] left = new byte[4];
+ byte[] left = new byte[9];
leftovers = ByteBuffer.wrap(left);
}
Show replies by date