[
https://issues.apache.org/jira/browse/SLING-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566078#action_12566078
]
Felix Meschberger commented on SLING-222:
-----------------------------------------
Modify last commit (Rev. 618697) slightly to not throw or send an error in case
of inability to include but log a message instead. Also use
ResourceResolver.resolve(String) to resolve the resource from the supplied path
to support request extensions, selectors and suffixes
Fixed in Rev. 618959.
Leaving this issue open, because the tests have not been run yet.
> using request.getRequestDispatcher() with an URL causes infinite loop
> ---------------------------------------------------------------------
>
> Key: SLING-222
> URL: https://issues.apache.org/jira/browse/SLING-222
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: Tobias Bocanegra
> Assignee: Felix Meschberger
>
> example:
> RequestDispatcher dispatcher =
> request.getRequestDispatcher("/foo/bar.teaser.html");
> dispatcher.include(request, response);
> causes infinite loop. where as a direct request to "/foo/bar.teaser.html"
> works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.