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

Claus Ibsen updated CAMEL-25121:
--------------------------------
    Fix Version/s: 4.23.0

> camel-util - StringQuoteHelper.splitSafeQuote trims the spaces inside a 
> quoted value unless it is the last value
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-25121
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25121
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.23.0
>
>
> StringQuoteHelper.splitSafeQuote with trim=true keeps the spaces inside a 
> quoted value when it is the only or the last value, but trims them when a 
> separator follows. For example splitSafeQuote("' a ', ' b '", ',', true, 
> false) gives ["a", " b "].
> This affects the simple functions that take a list of values (such as list), 
> the arguments of camel-exec and the values of camel-sql IN queries.
> Trim only the text outside the quotes, for every value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to