lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Ohtani (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1489) A UTF-8 character is output twice (Bug in Jetty)
Date Sat, 03 Oct 2009 13:08:23 GMT
A UTF-8 character is output twice (Bug in Jetty)
------------------------------------------------

                 Key: SOLR-1489
                 URL: https://issues.apache.org/jira/browse/SOLR-1489
             Project: Solr
          Issue Type: Bug
         Environment: Jetty-6.1.3
Jetty-6.1.21
Jetty-7.0.0RC6
            Reporter: Jun Ohtani
            Priority: Critical


A UTF-8 character is output twice under particular conditions.
Attach the sample data.(error_utf8-example.xml)
Registered only sample data, click the following URL.

http://localhost:8983/solr/select?q=*%3A*&version=2.2&start=0&rows=10&omitHeader=true&fl=attr_json&wt=json

Sample data is only "B", but response is "BB".
When wt=phps, error occurs in PHP unsrialize() function.

This bug is like a bug in Jetty.

jettybugsample.war is the simplest one to reproduce the problem.
Copy example/webapps, and start Jetty server, and click the following URL.

http://localhost:8983/jettybugsample/filter/hoge

Like earlier, B is output twice. Sysout only B once.
I have tested this on Jetty 6.1.3 and 6.1.21, 7.0.0rc6.
(When testing with 6.1.21or 7.0.0rc6, change "bufsize" from 128 to 512 in web.xml. )


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message