https://issues.apache.org/bugzilla/show_bug.cgi?id=54320

            Bug ID: 54320
           Summary: Regression: can not activate activate directory
                    listings parameter for DefaultServlet
                    STRICT_SERVLET_COMPLIANCE
           Product: Tomcat 7
           Version: 7.0.34
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: cedrik.l...@gmail.com
    Classification: Unclassified

Since Tomcat 7, one can not enable directory listings (in conf/web.xml) while
simultaneously enabling strict servlet compliance (by setting the
org.apache.catalina.STRICT_SERVLET_COMPLIANCE system property): one gets a 404
response.

This is a regression compared to Tomcat 5.5 and Tomcat 6.

The Servlet 3.0 specification states ยง10.10:
"If no matching welcome file is found in the manner described, the container
may handle the request in a manner it finds suitable. For some configurations
this may mean returning a directory listing or for others returning a 404
response."

so this new behaviour is still specification compliant strictly speaking.
But still I would really like to enable directory listings (which is also
specification compliant)! :-)

(And yes, I do know the warnings / trade-offs about enabling those listings.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to