Hi Eric,
we've recently made some changes to Utf8Appendable.java. I will have
a look at this.
Cheers,
Thomas
On 10/8/11 6:46 AM, Eric Y. Theriault wrote:
Hi--
I've been using jetty for a while now and have recently upgraded
to the Jetty 7 (specifically Jetty 7.5.2.v20111006). Since doing
so, I periodically notice an exception like this:
org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: !UTF-8
at org.eclipse.jetty.util.Utf8Appendable.appendByte(Utf8Appendable.java:73)
at org.eclipse.jetty.util.Utf8Appendable.append(Utf8Appendable.java:23)
at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:312)
at org.eclipse.jetty.http.HttpURI.decodeQueryTo(HttpURI.java:638)
at org.eclipse.jetty.server.Request.extractParameters(Request.java:209)
at org.eclipse.jetty.server.Request.getParameter(Request.java:662)
// my code that does the first request.getParameter...
I've been trying to find a URL that causes this particular issue
and I've recently found one with %E7 (C with the Cedilla), which I
believe is OK to the standard. That said, certain URL's with this
character code raise the above exception, such as this one: http://localhost/?i=e%e7
.
Can someone confirm whether or not the above URL is correct,
whether or not there is some configuration that is required to
make it work, or if there's a bug there. Thanks!
eyt*
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users
--
thomas becker
tbecker@xxxxxxxxxxx
http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)
|