atom feed5 messages in org.apache.tomcat.usersRe: POST data (single character) clea...
FromSent OnAttachments
kitagawaJan 15, 2012 6:11 pm 
Konstantin KolinkoJan 15, 2012 6:18 pm 
kitagawaJan 22, 2012 9:19 pm 
Konstantin KolinkoFeb 2, 2012 3:25 am 
kitagawaFeb 6, 2012 4:21 pm 
Subject:Re: POST data (single character) cleared when using tomcat 6.0.33 and Character Encoding Filter
From:kitagawa (kita@gmail.com)
Date:Jan 22, 2012 9:19:47 pm
List:org.apache.tomcat.users

Thank you for your response

I read the FAQ and wasn't able to find a solution to the problem.

I researched it some more and found a bug in Java 1.5 in java.nio.charset.Charset.decode() that might be the cause. A ticket was submitted regarding a similar problem to sun in 2004 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6196991 (patched in Java 1.6)

Tomcat 6.0.33 r1140904 the /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java class was changed to use java.nio.charset.Charset.decode(). This is probably why there was no problem before in version 6.0.32.

Best regards,