Skip to content

[IO-483] FilenameUtils.getPrefixLength fix for unix files/folders starting with colon#19

Merged
asfgit merged 1 commit into
apache:masterfrom
marko-vasic:master
Dec 2, 2016
Merged

[IO-483] FilenameUtils.getPrefixLength fix for unix files/folders starting with colon#19
asfgit merged 1 commit into
apache:masterfrom
marko-vasic:master

Conversation

@marko-vasic

Copy link
Copy Markdown
Contributor

FilenameUtils.getPrefixLength now works correctly for unix files/folder that are in the root folder and start with colons

…iles/folder that are in the root folder and start with colons
@kinow

kinow commented Sep 24, 2016

Copy link
Copy Markdown
Member

I think the proposed solutions works with no regressions in the code. Checked out the pull request locally, played with the tests adding a few other entries, but found no issues.

Will leave it open for others to review. Might be interesting to add the new test case examples to the method Javadoc too, IMO.

@marko-vasic

Copy link
Copy Markdown
Contributor Author

Thank you for the quick follow up.
Let us see what will others say.

@asfgit asfgit merged commit a7bd568 into apache:master Dec 2, 2016
asfgit pushed a commit that referenced this pull request Dec 2, 2016
IO-483: getPrefixLength return -1 if unix file contains colon

This closes #19

Thanks to @marko-vasic
@kinow

kinow commented Dec 2, 2016

Copy link
Copy Markdown
Member

Pull request merged. Mentioned you in the issue entry in changes.xml @marko-vasic. Let me know if your name is not Marko Vasic, or if you'd like me to use a different in that file.

<action issue="IO-483" dev="kinow" type="fix" due-to="Marko Vasic">

And thank you for your contribution
Bruno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants