You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/09/23 18:30:23 UTC

DO NOT REPLY [Bug 23354] New: - HttpServletResponse.encodeURL() does not encode relative URLs beginning with ./ or ../

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

HttpServletResponse.encodeURL() does not encode relative URLs beginning with ./ or ../

           Summary: HttpServletResponse.encodeURL() does not encode relative
                    URLs beginning with ./ or ../
           Product: Tomcat 4
           Version: 4.1.27
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: general@haghani.net


Calling encodeURL() on an HttpServletResponse with a partial/relative URL that 
begins with ./ or ../ does not appear to get properly encoded with the 
JSESSIONID suffix if Cookies are disabled.

Examples:
response.encodeURL("../foobar/")
response.encodeURL("./foobar/")

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