Details
Description
A UTF-8 character is output twice under particular conditions.
The attached is the simplest one to reproduce the problem.
Sample program output "B"(multibyte "B") only once, but response include two
I have tested this on Jetty 6.1.3 and 6.1.21 and 7.0.0rc6 .
Different versions depending on the conditions to reproduce the problem.
6.1.3 : "bufsize" in web.xml is 128
6.1.21 : "bufsize" in web.xml is 512
7.0.0.rc6 : "bufsize" in web.xml is 512
This size equal org.mortbay.jetty.AbstractGenerator.MAX_OUTPUT_CHARS.
Activity
Greg Wilkins
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Greg Wilkins [ gregw ] |
Greg Wilkins
made changes -
| Fix Version/s | 6.1.22 [ 15722 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 7.0.1 [ 15875 ] | |
| Resolution | Fixed [ 1 ] |
sample application url
http://localhost:8080/jettybugsample/filter/hoge