Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Dec 2, 2016

Conversation

marko-vasic
Copy link
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
Copy link
Member

kinow commented Sep 24, 2016

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
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
Copy link
Member

kinow commented Dec 2, 2016

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
3 participants