DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32424>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32424

           Summary: Redirecting directiories with missing trailing slash
                    breaks web applications
           Product: Tomcat 5
           Version: 5.0.28
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


>From version 5.0.4 to 5.0.5 the File
org/apache/tomcat/util/http/mapper/Mapper.java was changed to redirect requests
which matches a directory but have a missing trailing slash are redirected to
the same url with the slash. This breaks some webapps because the redirect is
also done for urls which are mapped to servlets.

Example:
A Servlet is mapped to /. The user calls /page which is handled by the servlet.
If a direcory named "page" exists, tomcat redirects to /page/. This is fine for
directory indexing but bad for complex applications.

See also:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java?r1=1.23&r2=1.24

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to