Camel
  1. Camel
  2. CAMEL-4990

SimpleExpression should trim the string before parsing

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.8.5, 2.9.1, 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

        Activity

          People

          • Assignee:
            Willem Jiang
            Reporter:
            Willem Jiang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development