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

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

     [ https://issues.apache.org/jira/browse/SOLR-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reopened SOLR-5839:
-------------------------------

      Assignee: Mark Miller

> 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
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.8
>
>         Attachments: SOLR-5839.patch
>
>
> 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