Extend RequestDispatcherOptions support for requests without extension
----------------------------------------------------------------------
Key: SLING-605
URL: https://issues.apache.org/jira/browse/SLING-605
Project: Sling
Issue Type: Improvement
Components: Engine
Reporter: Felix Meschberger
Consider a request without a request extension -- e.g.
http://host/some/content.pdf where the exact resource /some/content.pdf is
being handled. When handling such requests and including other content the
RequestDispatchOptions actually do not work because those are explicitly
ignored in case the request extension is null.
The reason for this is, that (1) it is not possible to replace the request
extension on included requests and (2) selectors are only possible if there is
an extension.
The current implementation should be enhanced to set the request extension for
inclusions should the current request extension be null.
Alternatively we might completely loosen the restriction placed on extensions
(see (1) above) and allow to replace the request extension just like it is
possible to replace the selectors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.