SimpleExpression should trim the string before parsing
-------------------------------------------------------
Key: CAMEL-4990
URL: https://issues.apache.org/jira/browse/CAMEL-4990
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.9.0
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 2.9.1, 2.10.0
The expression could has "\r", "\n" character at the begin or end.
We should trim the expression before parsing it.
Here is the mail thread[1] which talks about it.
[1]http://camel.465427.n5.nabble.com/Please-consider-to-trim-simple-expressions-before-parsing-tt5455143.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira