[
https://issues.apache.org/jira/browse/SLING-8742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422238#comment-17422238
]
Carsten Ziegeler commented on SLING-8742:
-----------------------------------------
Created a PR for API
https://github.com/apache/sling-org-apache-sling-api/pull/33
and a PR for Engine
https://github.com/apache/sling-org-apache-sling-engine/pull/21
> Allow overriding the extension when using the RequestDispatcher
> ---------------------------------------------------------------
>
> Key: SLING-8742
> URL: https://issues.apache.org/jira/browse/SLING-8742
> Project: Sling
> Issue Type: Improvement
> Components: API, Engine
> Reporter: Robert Munteanu
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: API 2.23.8, Engine 2.7.12
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It is sometimes useful to be able to include another resource and override
> the extension at the same time.
> My scenario is that I am routing all requests through an entry point
> {{/content/maven.html}} and then serving resources based on the suffix.
> If I a binary file is requested, it should be downloaded ( by forcing the
> extension to be null ), but instead the html extension is used, which means
> the HTML Renderer kicks in.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)