mirror of https://github.com/apache/lucene.git
SOLR-5839: ZookeeperInfoServlet does not trim path properly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4bfbd583d3
commit
3e397f0189
|
@ -141,6 +141,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
|
||||
|
|
|
@ -195,7 +195,7 @@ public final class ZookeeperInfoServlet extends HttpServlet {
|
|||
if (path == null) {
|
||||
path = "/";
|
||||
} else {
|
||||
path.trim();
|
||||
path = path.trim();
|
||||
if (path.length() == 0) {
|
||||
path = "/";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue