Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Servlets Get 2.0.4
-
None
Description
If a redirect resource is rendered with the RedirectServlet. This servlet should not actually do the redirect if (a) the request has already been committed (to prevent an IllegalStateException) and/or if (b) the request is an included one (we don't expect such things in included requests)
The fix is probably to add such a check at the beginning of the RedirectServlet.doGet method:
if (response.isCommitte())
{ log warn return; } else if (response is included) { log warn return; }Attachments
Issue Links
- is duplicated by
-
SLING-1086 SlingRequestDispatcher must not include redirect resources as is
- Closed