Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.25
-
Fix Version/s: 6.1.27
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
In the Apache Solr project, we had some problems with jetty supporting Unicode characters outside
of the basic multilingual plane (codepoints greater than 0xffff).
The problem boils down to Utf8StringBuffer, all of the utf8 logic looks generally correct, but at
the end when it is time to append to the underlying StringBuffer, it needs to append the two
UTF-16 surrogates for characters in this range... its a rather simple fix.
The patch is against http://svn.codehaus.org/jetty/jetty/branches/jetty-6.1 (I hope this is correct?)
Issue Links
- duplicates
-
JETTY-1328
org.mortbay.jetty.HttpConnection.printWriter("UTF-8") returns a broken UTF-8 writer wrt. Strings containing surrogate characters
-
Activity
Robert Muir
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | JETTY-1340.patch [ 53937 ] |
Greg Wilkins
made changes -
| Assignee | Greg Wilkins [ gregw ] |
Greg Wilkins
made changes -
| Link |
This issue duplicates |
Bernd Fehling
made changes -
| Attachment | AbstractGenerator.patch [ 54134 ] |
Greg Wilkins
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 6.1.27 [ 17238 ] | |
| Resolution | Fixed [ 1 ] |