Jens Kleine-Herzbruch created CAMEL-16922:
---------------------------------------------

             Summary: 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


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