https://bz.apache.org/bugzilla/show_bug.cgi?id=69371

            Bug ID: 69371
           Summary: DefaultServlet's HTML listing renders incomplete paths
                    for directory and its parent
           Product: Tomcat 9
           Version: 9.0.95
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: micha...@apache.org
  Target Milestone: -----

Created attachment 39889
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39889&action=edit
mod_autoindex

Consider your have a context at /backend-dev with the servlet mapped at:
>       <servlet-mapping>
>               <servlet-name>webdav</servlet-name>
>               <url-pattern>/dav/*</url-pattern>
>       </servlet-mapping>

>From a user's PoV the full path should appear in the HTML rendering, but not
rooted from the context only. The reason is that the use does not know anything
about contexts, Tomcat and how webapps are deployed. This technical information
is opaque. In fact it is confusing that the browser URL shows one path, but the
listing presents only a subpath. A counter example from mod_autoindex has been
attached.

-- 
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