You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by cagdasyelen <gi...@git.apache.org> on 2016/09/24 22:24:51 UTC
[GitHub] commons-io pull request #20: [IO-499] FilenameUtils.directoryContains false ...
GitHub user cagdasyelen opened a pull request:
https://github.com/apache/commons-io/pull/20
[IO-499] FilenameUtils.directoryContains false positive issue
IO-499 bug has been fixed.
The old version was looking at if the child canonical path string starts with the parent's.
However, it fails in the case of:
.../top/foo
.../top/foo2/b.txt
since the directory path of b.txt starts with the same directory path with the one above even though the second one is a different directory(foo2). This issue is resolved by comparing the path strings of foo and foo2.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cagdasyelen/commons-io io499-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-io/pull/20.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20
----
commit fd95ccde6310bfee7314744d879c597882cb3381
Author: Cagdas Yelen <ca...@utexas.edu>
Date: 2016-09-24T22:21:37Z
[IO-499] FilenameUtils.directoryContains false positive issue is resolved
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
[GitHub] commons-io pull request #20: [IO-499] FilenameUtils.directoryContains false ...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/commons-io/pull/20
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org