Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB0B69892 for ; Wed, 8 Feb 2012 02:15:20 +0000 (UTC) Received: (qmail 75506 invoked by uid 500); 8 Feb 2012 02:15:20 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 75471 invoked by uid 500); 8 Feb 2012 02:15:20 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 75460 invoked by uid 99); 8 Feb 2012 02:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 02:15:20 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 02:15:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 456241A8AD1 for ; Wed, 8 Feb 2012 02:14:59 +0000 (UTC) Date: Wed, 8 Feb 2012 02:14:59 +0000 (UTC) From: "Willem Jiang (Created) (JIRA)" To: issues@camel.apache.org Message-ID: <1972856156.12572.1328667299286.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-4990) SimpleExpression should trim the string before parsing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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