tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4707] New: - HttpServletRequest.getPathInfo() method strips consecutive "/" chars
Date Wed, 07 Nov 2001 19:28:23 GMT
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=4707>.
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=4707

HttpServletRequest.getPathInfo()  method strips consecutive "/" chars

           Summary: HttpServletRequest.getPathInfo()  method strips
                    consecutive "/" chars
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Stephen.Ince@qwest.com


The javax.servlet.http.HttpServletRequest.getPathInfo() method is stripping 
away consecutive "/" chars. For example if the url of my servlet 
is "http://localhost/my_servlet/http://www.yahoo.com/" where "my_servlet" is 
the name of my servlet. In the service() method I invoke 
HttpServletRequest.getPathInfo() it should return '/http://www.yahoo.com/' but 
it returns '/http:/www.yahoo.com/' instead.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message