lucene-dev mailing list archives

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

     [ 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


Mime
View raw message