If I have a %25 as part of the request (%25 is the percent sign), I get this exception: java.io.CharConversionException: EOF at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:119) at org.apache.tomcat.util.buf.UDecoder.convert(UDecoder.java:87) at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:408) at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:495) at org.apache.tomcat.util.http.Parameters.handleQueryParameters(Parameters.java:278) at org.apache.coyote.tomcat4.CoyoteRequest.parseRequestParameters(CoyoteRequest.java:1933) at org.apache.coyote.tomcat4.CoyoteRequest.getParameter(CoyoteRequest.java:911) at org.apache.coyote.tomcat4.CoyoteRequestFacade.getParameter(CoyoteRequestFacade.java:178) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1062) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
I get the same error on Tomcat 4.1.29 whenever a parameter contains a percent sign. Specifically, request.getParameter generates the "java.io.CharConversionException: EOF" if the parameter value contains a percent sign. This can happen with both GET and POST form methods. I don't believe encoding the URL isn't an option even if it would work.
Additional information: I am running Windows 2000 Server. The same error was previously reported for URL forwards. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3986
This bug report has been transferred to Tomcat 5 because TC4 and TC5 share the connectors and TC5 is now the focus of development effort
If you re-open this, please provide a test case as I can't reproduce it.