Carsten Ziegeler created SLING-12308:
----------------------------------------
Summary: 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
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)