Nikolaj Tørring created CAMEL-6333:
--------------------------------------
Summary: StringQuoteHelper not able to handle single quote inside
double quote
Key: CAMEL-6333
URL: https://issues.apache.org/jira/browse/CAMEL-6333
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.11.0
Reporter: Nikolaj Tørring
The StringQuoteHelper does not handle single quotes inside double quotes
correctly, as these should be seen as part of the content inside the double
quote and not an actual single quote start.
This means that a route containing a simple transform like this will fail:
{code:xml}
<transform>
<simple>${in.body.replace("'UNH+", "'\nUNH+")}</simple>
</transform>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira