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=25015>.
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=25015

CoyoteAdapter is breaking path info

           Summary: CoyoteAdapter is breaking path info
           Product: Tomcat 5
           Version: 5.0.15
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The CoyoteAdapter removes valid path info in the postParseRequest() method.  

take the following url

http://localhost/appname/servlet-name/extra;path/info;here/hi.jsp

when you call getPathInfo() on the request it returns /extra

this is because the CoyoteAdapters postParseRequest() method finds the 
first ';' and truncates the path.  According to RFC1738 this is a valid path.  

The class org.apache.tomcat.util.http.mapper.Mapper handles the path correctly 
but is never given the right path from the CoyoteAdapter.

thanks,

John

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to