[ 
https://issues.apache.org/jira/browse/SLING-12308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-12308.
--------------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-rewriter/commit/26976e1b370ef2734428dc80ba3ae2fec3f0351b
Added test case

> Potential ArrayIndexOutOfBoundsException with global transformers
> -----------------------------------------------------------------
>
>                 Key: SLING-12308
>                 URL: https://issues.apache.org/jira/browse/SLING-12308
>             Project: Sling
>          Issue Type: Bug
>          Components: General
>    Affects Versions: Rewriter 1.4.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Rewriter 1.4.4
>
>
> When several global transformers are configured but one of them does not 
> match the current request, an ArrayIndexOutOfBoundsException might be thrown 
> as the code assumes all transformers match.
> This only happens if there is a matching transformer *after* one that does 
> not match. If it is the other way round, the code works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to