lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1936) Json output Incorrect escaping Unicode Character 'LINE SEPARATOR' (U+2028)
Date Tue, 01 Jun 2010 15:26:37 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley updated SOLR-1936:
-------------------------------

    Attachment: SOLR-1936.patch

Here's my version of the patch.
Perhaps your issue as caused by writing out the actual \u2028 character (as opposed to a string
starting with backslash, followed by 'u', etc...)

> 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


Mime
View raw message