Apache Lucene open-source search software
SOLR-2381: use patched version of jetty with correct UTF-8 handling
Robert Muir7b7d144aec1b
diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpathindex 5e86db866cc..2b60809df0d 100644--- a/dev-tools/eclipse/dot.classpath+++ b/dev-tools/eclipse/dot.classpath@@ -117,8 +117,8 @@<classpathentry kind="lib" path="solr/lib/velocity-tools-2.0.jar"/><classpathentry kind="lib" path="solr/lib/wstx-asl-3.2.7.jar"/><classpathentry kind="lib" path="solr/lib/zookeeper-3.3.1.jar"/>- <classpathentry kind="lib" path="solr/example/lib/jetty-6.1.26.jar"/>- <classpathentry kind="lib" path="solr/example/lib/jetty-util-6.1.26.jar"/>+ <classpathentry kind="lib" path="solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar"/>+ <classpathentry kind="lib" path="solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar"/><classpathentry kind="lib" path="solr/example/lib/servlet-api-2.5-20081211.jar"/><classpathentry kind="lib" path="solr/example/lib/jsp-2.1/core-3.1.1.jar"/><classpathentry kind="lib" path="solr/example/lib/jsp-2.1/jsp-2.1-glassfish-2.1.v20091210.jar"/>diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex eaf2a2e1418..6e6f2ec036a 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -802,6 +802,10 @@ Other Changes* SOLR-2365: Move DIH jars out of solr.war (David Smiley via yonik)+* SOLR-2381: Include a patched version of Jetty (6.1.26 + JETTY-1340)+ to fix problematic UTF-8 handling for supplementary characters.+ (uschindler, yonik, rmuir)+Build----------------------diff --git a/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar b/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jarnew file mode 100644index 00000000000..3368a8ed21c--- /dev/null+++ b/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar@@ -0,0 +1,2 @@+AnyObjectId[33aa586bcc18fc1ff0276b56e595281fb90e2bb5] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/solr/example/lib/jetty-6.1.26.jar b/solr/example/lib/jetty-6.1.26.jardeleted file mode 100644index a95786a2da6..00000000000--- a/solr/example/lib/jetty-6.1.26.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[2cbe07aeefa47ad6321addf0e75e010858f72fba] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar b/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jarnew file mode 100644index 00000000000..67f2e8587c4--- /dev/null+++ b/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar@@ -0,0 +1,2 @@+AnyObjectId[286a135efb973e693b20e437dc01eb8658e72ff2] was removed in git history.+Apache SVN contains full history.\ No newline at end of filediff --git a/solr/example/lib/jetty-util-6.1.26.jar b/solr/example/lib/jetty-util-6.1.26.jardeleted file mode 100644index 0daa247d9c9..00000000000--- a/solr/example/lib/jetty-util-6.1.26.jar+++ /dev/null@@ -1,2 +0,0 @@-AnyObjectId[cd237528add68b792f2e6e030344f27d9d07ec31] was removed in git history.-Apache SVN contains full history.\ No newline at end of filediff --git a/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java b/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.javaindex 071f74e0255..1968cde14e8 100644--- a/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java+++ b/solr/src/test/org/apache/solr/client/solrj/SolrExampleTests.java@@ -181,7 +181,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBaseSolrInputDocument doc2 = new SolrInputDocument();doc2.addField( "id", "id2", 1.0f );- doc2.addField( "name", "h\u1234llo", 1.0f );+ doc2.addField( "name", "h\uD866\uDF05llo", 1.0f );doc2.addField( "price", 20 );Collection<SolrInputDocument> docs = new ArrayList<SolrInputDocument>();@@ -209,7 +209,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBase// System.out.println( rsp.getResults() );// query outside ascii range- query.setQuery("name:h\u1234llo");+ query.setQuery("name:h\uD866\uDF05llo");rsp = server.query( query );assertEquals( 1, rsp.getResults().getNumFound() );