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 2025/07/06 17:59:00 UTC

[jira] [Comment Edited] (IO-838) FilenameUtils handling of tilde is borked

    [ https://issues.apache.org/jira/browse/IO-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803821#comment-17803821 ] 

Gary D. Gregory edited comment on IO-838 at 7/6/25 5:58 PM:
------------------------------------------------------------

I agree that by default we should not "process" the tilde character due to its special role in certain *Nix shells.

 


was (Author: garydgregory):
I agree that by default we should not "process" the tilde character due to its special role in certain *NIx shells.

 

> FilenameUtils handling of tilde is borked
> -----------------------------------------
>
>                 Key: IO-838
>                 URL: https://issues.apache.org/jira/browse/IO-838
>             Project: Commons IO
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> The tilde ~ is a legal character in Unix and probably Windows file names. It does not mean the home directory. That is a *shell* convention independent of fiule paths and names.
> FilenameUtils gets this wrong. Figure out what to do about this. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)