[
https://issues.apache.org/jira/browse/SLING-12405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872297#comment-17872297
]
Henry Kuijpers commented on SLING-12405:
----------------------------------------
[~cziegeler] this happens when the forward target does exist. The Rewriter
filter only runs on request or error. Not on forward.
> Rewriter Filter not called when request is forwarded
> ----------------------------------------------------
>
> Key: SLING-12405
> URL: https://issues.apache.org/jira/browse/SLING-12405
> Project: Sling
> Issue Type: Bug
> Affects Versions: Rewriter 1.4.4
> Reporter: Henry Kuijpers
> Priority: Major
>
> See also SLING-1140, where actually in the description is written that
> "RequestDispatcher#forward" results in the rewriter not being called. The fix
> there was to add "error" to the filter as well. But it seems that, by using
> "forward", to a resource that does exist, in fact does not trigger the
> rewriting pipeline (and thus the same issue occurs).
> Some use cases:
> * AEM's link checker / externalizer is not being called, so the resulting
> page will have long links (including /content), instead of short links
> * ACS AEM Commons versioned clientlibs transformer will not be called, so
> the MD5 hashes will not be appended to the URL
--
This message was sent by Atlassian Jira
(v8.20.10#820010)