Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Servlets Get 2.0.4
-
None
Description
As of SLING-723, the StreamRendererServlet contains functionality to render an index (directory listing) or send 403/FORBIDDEN if rendering the index is disabled by configuration.
This works like this:
- If request has trailing slash -> render directory or send 403
- Else If resource adapts to a stream -> spool the stream
- Else redirect to the same URL with a trailing slash
This all perfectly works if this mechanism handles the request directly. If this mechanism is triggered in an included resource, where a directly addressed resource includes another resource, which is then handled by the StreamRendererServlet, this should probably be different:
- If the resource adapts to a stream -> spool the stream
- Else do nothing (but log this situation and add an entry in the RequestProgressTracker