You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Furkan KAMACI (JIRA)" <ji...@apache.org> on 2014/03/08 19:59:42 UTC

[jira] [Created] (SOLR-5839) ZookeeperInfoServlet Does Not Trim Path Properly

Furkan KAMACI created SOLR-5839:
-----------------------------------

             Summary: ZookeeperInfoServlet Does Not Trim Path Properly
                 Key: SOLR-5839
                 URL: https://issues.apache.org/jira/browse/SOLR-5839
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.6.1, 4.7
            Reporter: Furkan KAMACI
            Priority: Minor
             Fix For: 4.8


This part has a bug:

{code}
// normalize path
      if (path == null) {
        path = "/";
      } else {
        path.trim();
        if (path.length() == 0) {
          path = "/";
        }
      }
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org