Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 25130 invoked from network); 5 Jan 2008 15:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2008 15:42:00 -0000 Received: (qmail 39110 invoked by uid 500); 5 Jan 2008 15:41:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 39016 invoked by uid 500); 5 Jan 2008 15:41:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 39007 invoked by uid 99); 5 Jan 2008 15:41:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 07:41:48 -0800 X-ASF-Spam-Status: No, hits=-97.2 required=10.0 tests=ALL_TRUSTED,WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 15:41:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11B4F714204 for ; Sat, 5 Jan 2008 07:41:34 -0800 (PST) Message-ID: <14808970.1199547694069.JavaMail.jira@brutus> Date: Sat, 5 Jan 2008 07:41:34 -0800 (PST) From: "Yonik Seeley (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (SANDBOX-206) backslash before quote character gives an error In-Reply-To: <20482961.1199465074391.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved SANDBOX-206. ---------------------------------- Resolution: Fixed committed. Thanks for the review Hen! > backslash before quote character gives an error > ----------------------------------------------- > > Key: SANDBOX-206 > URL: https://issues.apache.org/jira/browse/SANDBOX-206 > Project: Commons Sandbox > Issue Type: Bug > Components: CSV > Environment: Windows, SOLR 1.2 > Reporter: Michael Lackhoff > Attachments: csv_escape.patch > > > A CSV-field with the contents "This is text with a \""quoted"" string" gives the error > "invalid char between encapsualted token end delimiter". If the backslash is not immediately before the double quote, everything is fine. > The same error occurs when the backslash is the last character in the field (directly before the delimiter), like: > "This is a text with a backslash \". > Here the reason might be that the backslash also works as an escape character like in > "This is a field with a \"quoted\" text" (no error, just the quotes in the resulting field) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.