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

Claus Ibsen commented on CAMEL-16922:
-------------------------------------

Thanks for reporting and the PR

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

Reply via email to