You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Tristan Lins (JIRA)" <ji...@apache.org> on 2015/08/04 09:36:04 UTC

[jira] [Created] (IO-483) getPrefixLength return -1 if unix file contains colon

Tristan Lins created IO-483:
-------------------------------

             Summary: getPrefixLength return -1 if unix file contains colon
                 Key: IO-483
                 URL: https://issues.apache.org/jira/browse/IO-483
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.4
            Reporter: Tristan Lins


A simple

{code:java}
int prefixLength = FilenameUtils.getPrefixLength("/:foo/bar");
{code}

return {{-1}}, but the path is absolutely valid for unix systems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)