commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IO-483) getPrefixLength return -1 if unix file contains colon
Date Fri, 02 Dec 2016 03:15:59 GMT

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

Bruno P. Kinoshita resolved IO-483.
-----------------------------------
    Resolution: Fixed
      Assignee: Bruno P. Kinoshita

Pull request merged. changes.xml updated too.

> 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
>            Assignee: Bruno P. Kinoshita
>
> A simple
> {code:java}
> int prefixLength = FilenameUtils.getPrefixLength("/:foo/bar");
> {code}
> return {{-1}}, but {{0}} was expected. The path is absolutely valid for unix systems.



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

Mime
View raw message