[ 
https://issues.apache.org/jira/browse/COMMONSSITE-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Saurabh Parkhi updated COMMONSSITE-188:
---------------------------------------
    Priority: Minor  (was: Major)

> getName method in FilenameUtils fails if the filename has a separator 
> character in the name 
> --------------------------------------------------------------------------------------------
>
>                 Key: COMMONSSITE-188
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-188
>             Project: Apache Commons All
>          Issue Type: Bug
>            Reporter: Saurabh Parkhi
>            Priority: Minor
>
> Tried and Replicated on Linux
>  * Create a file with backslash in the name e.g. `touch 
> file'\'withbackslash.txt` 
>  * try to get the filename from the full path, it splits on the last 
> separator returning only part of the file name
>  
> As the method operates only on String, it fails, if it generates a File or 
> Path object and get the filename, it will work



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

Reply via email to