You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2024/05/03 12:38:00 UTC

[jira] [Closed] (SLING-12308) Potential ArrayIndexOutOfBoundsException with global transformers

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

Carsten Ziegeler closed SLING-12308.
------------------------------------

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