enable-directory-browsing="true"
does not work with EE10 and later
#30598
Labels
Milestone
enable-directory-browsing="true"
does not work with EE10 and later
#30598
Describe the bug
When using EE10, directory browsing results in the following error in the logs:
Steps to Reproduce
Enable an EE10 feature that supports web applications (e.g.
servlet-6.0
)Enable directory browsing in server.xml
Visit a page which should show a directory listing and observe the error returned in the browser and in the messages.log.
Expected behavior
The directory listing should be shown.
Diagnostic information:
servlet-6.0
was released)servlet-6.0
and later, and other features which use the web containerAdditional context
It looks like
HttpServletRequest.getRealPath
was removed in Servlet 6.0, having previously been deprecated.This issue was opened in response to a user report in gitter.
The text was updated successfully, but these errors were encountered: