You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/04/19 11:30:00 UTC
[jira] [Closed] (IO-789) SymbolicLinkFileFilter accepts all files, not just symbolic links
[ https://issues.apache.org/jira/browse/IO-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed IO-789.
------------------------------
Resolution: Duplicate
> SymbolicLinkFileFilter accepts all files, not just symbolic links
> -----------------------------------------------------------------
>
> Key: IO-789
> URL: https://issues.apache.org/jira/browse/IO-789
> Project: Commons IO
> Issue Type: Bug
> Components: Filters
> Affects Versions: 2.11.0
> Environment: Tested on MacOS.
> Reporter: Miguel Munoz
> Priority: Major
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> SymbolicLinkFileFilter is underwritten. When used as a FileFilter or FileName filter, it passes all files, not just Symbolic Links. As a PathFilter, it works fine.
> The failing method is this:
> {{public boolean accept(final File file)}}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)