[ 
https://issues.apache.org/jira/browse/SLING-12405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874161#comment-17874161
 ] 

Henry Kuijpers edited comment on SLING-12405 at 8/16/24 9:00 AM:
-----------------------------------------------------------------

Created a PR [~cziegeler] , builds are failing for Java 17 & 21 though. Looks 
like we need to update the parent pom etc.

[https://github.com/apache/sling-org-apache-sling-rewriter/pull/15] 


was (Author: henry kuijpers):
Created a PR [~cziegeler] , builds are failing for Java 17 & 21 though. Looks 
like we need to update the parent pom etc.

> 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)

Reply via email to