You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Patrick Bender (JIRA)" <ji...@apache.org> on 2019/02/11 14:36:00 UTC
[jira] [Updated] (IO-600) getPrefixLength returns wrong length on
linux for filename "C:"
[ https://issues.apache.org/jira/browse/IO-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Bender updated IO-600:
------------------------------
Summary: getPrefixLength returns wrong length on linux for filename "C:" (was: getPrefixLength returns wrong length on linux for filneame "C:")
> getPrefixLength returns wrong length on linux for filename "C:"
> ---------------------------------------------------------------
>
> Key: IO-600
> URL: https://issues.apache.org/jira/browse/IO-600
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 2.6
> Reporter: Patrick Bender
> Priority: Major
>
> On most unix filesystems only null byte and / are reserved characters. So its perfectly valid to have a file called "C:".
> If the getPrefixLength method is called for the path of such a file then it returns 2 whereas the expected value is 0.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)