You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2014/03/08 20:06:26 UTC
svn commit: r1575593 - in /lucene/dev/branches/branch_4x: ./ solr/
solr/CHANGES.txt solr/core/
solr/core/src/java/org/apache/solr/servlet/ZookeeperInfoServlet.java
Author: markrmiller
Date: Sat Mar 8 19:06:25 2014
New Revision: 1575593
URL: http://svn.apache.org/r1575593
Log:
SOLR-5839: ZookeeperInfoServlet does not trim path properly.
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/CHANGES.txt (contents, props changed)
lucene/dev/branches/branch_4x/solr/core/ (props changed)
lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/servlet/ZookeeperInfoServlet.java
Modified: lucene/dev/branches/branch_4x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/CHANGES.txt?rev=1575593&r1=1575592&r2=1575593&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/solr/CHANGES.txt Sat Mar 8 19:06:25 2014
@@ -95,6 +95,9 @@ Bug Fixes
* SOLR-5834: Overseer threads are only being interrupted and not closed.
(hossman, Mark Miller)
+* SOLR-5839: ZookeeperInfoServlet does not trim path properly.
+ (Furkan KAMACI via Mark Miller)
+
Optimizations
----------------------
* SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY
Modified: lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/servlet/ZookeeperInfoServlet.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/servlet/ZookeeperInfoServlet.java?rev=1575593&r1=1575592&r2=1575593&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/servlet/ZookeeperInfoServlet.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/servlet/ZookeeperInfoServlet.java Sat Mar 8 19:06:25 2014
@@ -195,7 +195,7 @@ public final class ZookeeperInfoServlet
if (path == null) {
path = "/";
} else {
- path.trim();
+ path = path.trim();
if (path.length() == 0) {
path = "/";
}