You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/09/03 15:44:00 UTC

[jira] [Resolved] (CAMEL-16922) StringHelper.removeLeadingAndEndingQuotes() may cause IndexOutOfBoundsException

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

Claus Ibsen resolved CAMEL-16922.
---------------------------------
    Resolution: Fixed

> StringHelper.removeLeadingAndEndingQuotes() may cause IndexOutOfBoundsException
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-16922
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16922
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.11.1
>            Reporter: Jens Kleine-Herzbruch
>            Priority: Minor
>             Fix For: 3.7.6, 3.11.2, 3.12.0
>
>
> The method doesn't check whether the string passed actually contains enough characters, so calling it with the string {{'}}, for example, causes an IndexOutOfBoundsException.
> This happens, for example, when you pass arguments like this as parameters to a Bean expression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)