You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/06 12:03:08 UTC

[jira] Commented: (SLING-222) using request.getRequestDispatcher() with an URL causes infinite loop

    [ 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.