Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.0.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
This is duplicate of JETTY-1098.
I'm creating new issue as it is still not fixed in 7.0.1 (and 7.0.0 is already released with this bug).
Umlauts works for me but still have problems with string like this (Thai language):
ฟหกวดา่กฟวหสดา่หฟกวดสาฟกหรด้ฟหนกรดี
although umlauts works.
Exception (v7.0.1):
java.lang.IllegalArgumentException: !utf8
at org.eclipse.jetty.util.Utf8StringBuilder.append(Utf8StringBuilder.java:112)
at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:450)
at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:497)
at org.eclipse.jetty.server.Request.extractParameters(Request.java:254)
at org.eclipse.jetty.server.Request.getParameter(Request.java:648)
To reproduce create page jsp page with:
<form method="POST">
<textarea name="description">$
</textarea>
<input type="submit" />
</form>
and submit form with above string.
Issue Links
- is related to
-
JETTY-1246
URL query in utf8 character
-
- is superceded by
-
JETTY-1098
IllegalArgumentException !utf8 in Utf8StringBuilder when getting a request parameter
-
Greg, please look into this for jetty-7. See also the linked issue: http://jira.codehaus.org/browse/JETTY-1098.
thanks,
Jan