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

        Willem Jiang created issue -
        Hide
        Claus Ibsen added a comment -

        Willem can you add a note about this change in the release notes?

        Show
        Claus Ibsen added a comment - Willem can you add a note about this change in the release notes?
        Claus Ibsen made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Hide
        Willem Jiang added a comment -

        Applied the patch into trunk, camel-2.9.x and camel-2.8.x branches.

        Show
        Willem Jiang added a comment - Applied the patch into trunk, camel-2.9.x and camel-2.8.x branches.
        Willem Jiang made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.8.5 [ 12319522 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        10h 29m 1 Willem Jiang 08/Feb/12 12:43

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development