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

            Bug ID: 69370
           Summary: DefaultServlet's listing uses incorrect labels
           Product: Tomcat 9
           Version: 9.0.95
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: micha...@apache.org
  Target Milestone: -----

When you turn on the listing with the DefaultServlet references all resources
as "Filename" which is wrong/confusing since you have have directories and
files. It should be reduced just to "File" like with mod_autoindex. Moreover,
the keys in the LocalStrings.properties are unscoped and confusing as well:
directory.filename=Filename
directory.lastModified=Last Modified
directory.parent=Up To [{0}]
directory.size=Size
directory.title=Directory Listing For [{0}]

I would expect them to be:
defaultServlet.resource.name=Name
defaultServlet.resource.lastModified=Last Modified
defaultServlet.directory.parent=Up To [{0}]
defaultServlet.resource.size=Size
defaultServlet.directory.title=Directory Listing For [{0}]

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