Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 50646 invoked from network); 1 Jun 2010 14:08:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 14:08:10 -0000 Received: (qmail 20530 invoked by uid 500); 1 Jun 2010 14:08:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 20479 invoked by uid 500); 1 Jun 2010 14:08:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 20470 invoked by uid 99); 1 Jun 2010 14:08:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 14:08:08 +0000 X-ASF-Spam-Status: No, hits=-1485.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 14:08:08 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o51E7l7Z018480 for ; Tue, 1 Jun 2010 14:07:48 GMT Message-ID: <12136255.103891275401267931.JavaMail.jira@thor> Date: Tue, 1 Jun 2010 10:07:47 -0400 (EDT) From: "Robert Hofstra (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1936) Json output Incorrect escaping Unicode Character 'LINE SEPARATOR' (U+2028) In-Reply-To: <28992074.103621275400182866.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Hofstra updated SOLR-1936: --------------------------------- Attachment: patch-SOLR-1936.txt patch-SOLR-1936-test.txt patch for JSONResponseWriter 1.4.0 Including test > Json output Incorrect escaping Unicode Character 'LINE SEPARATOR' (U+2028) > -------------------------------------------------------------------------- > > Key: SOLR-1936 > URL: https://issues.apache.org/jira/browse/SOLR-1936 > Project: Solr > Issue Type: Bug > Components: Response Writers > Affects Versions: 1.4 > Reporter: Robert Hofstra > Fix For: 1.4 > > Attachments: patch-SOLR-1936-test.txt, patch-SOLR-1936.txt > > > The Unicode Character 'LINE SEPARATOR' (U+2028) is not escaped in json response, resulting in a exception when evaluting this response on a client (in out case a webbrowser). > Evaluting a response with this U+2028 char results in a 'unterminated string literal' error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org