Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 91787 invoked from network); 1 Jun 2010 15:50:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 15:50:03 -0000 Received: (qmail 11716 invoked by uid 500); 1 Jun 2010 15:50:00 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 11632 invoked by uid 500); 1 Jun 2010 15:50:00 -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 11585 invoked by uid 99); 1 Jun 2010 15:50:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 15:50:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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 15:49:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o51Fna92019858 for ; Tue, 1 Jun 2010 15:49:37 GMT Message-ID: <2097549.106471275407376932.JavaMail.jira@thor> Date: Tue, 1 Jun 2010 11:49:36 -0400 (EDT) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874081#action_12874081 ] Yonik Seeley commented on SOLR-1936: ------------------------------------ Committed to trunk. I'll backport to 3.1 and 1.4.1 shortly. > 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-TRUNK.patch, patch-SOLR-1936.txt, SOLR-1936.patch > > > 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 our case a firefox 3.0.19 , chrome 5.0.375.55 beta) webbrowser. > Evaluting a response with this U+2028 char results in a 'unterminated string literal' error in firefox. -- 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