DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15464>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15464 CoyoteResponse.encodeURL fails to encode relative paths. Summary: CoyoteResponse.encodeURL fails to encode relative paths. Product: Tomcat 4 Version: 4.1.17 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Connector:Coyote HTTP/1.1 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If a call to response.encodeURL is made from a jsp passing a relative path as the argumen, the implementation CoyoteResponse.encodeURL attempts to encode the String argument as an absolute URL, throwing a IllegalArgumentException. Example: response.encodeURL( "myTest.jsp" ) -> fails to compile response.encodeURL( "/myTest.jsp" ) -> compiles fine but access fails Prepeding the argument with "/" seems to allow the page to be compiled, however, references to the encoded URL result in the error: "HTTP Status 500 - No Context configured to process this request". This error is not present in Tomcat 3.3.1 (release I am migrating from). -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>