You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/04/12 21:05:30 UTC
[Bug 56405] New: Directory listings are broken in 8.0.x
https://issues.apache.org/bugzilla/show_bug.cgi?id=56405
Bug ID: 56405
Summary: Directory listings are broken in 8.0.x
Product: Tomcat 8
Version: trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: knst.kolinko@gmail.com
It is issue in the current 8.0.x trunk apparently introduced by r1582440
I think it does not affect 8.0.5 (r1580930)
Steps to reproduce:
1. Configure DefaultServlet with init-param listings equal to true.
2. Go to a directory in Tomcat. Expected: listing of a directory, actual:
blank screen (zero-length response).
The following code on lines 919-920:
if (resource.isDirectory()) {
renderResult = render(getPathPrefix(request),
resource);
} else {
The 'renderResult' is an InputStream which have to be copy()'ed to output, but
copying never happens.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56405] Directory listings are broken in 8.0.x
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56405
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
OS| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in 8.0.x for 8.0.6.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org