[
https://issues.apache.org/jira/browse/IO-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Tümmers updated IO-552:
------------------------------
Description:
{{FilenameUtils.concat("c:\\temp", "~abc.txt") returns "~abc.txt/" instead of
"c:/temp/~abc.txt".}}
(Note: Had to replace all instances of double backslashes with forward slashes
as the editor
commons io 2.2. and 2.5 behave the same. 2.3 and 2.4 not tested.
was:
{{FilenameUtils.concat("c:\\\temp", "~abc.txt") returns "~abc.txt/" instead of
"c:/temp/~abc.txt".}}
(Note: Had to replace all instances of double backslashes with forward slashes
as the editor
commons io 2.2. and 2.5 behave the same. 2.3 and 2.4 not tested.
> FilenameUtils.concat fails if second argument (fullFilenameToAdd) starts with
> '~' (tilde)
> -----------------------------------------------------------------------------------------
>
> Key: IO-552
> URL: https://issues.apache.org/jira/browse/IO-552
> Project: Commons IO
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.2, 2.5
> Environment: Windows 7 64bit, JavaVM 1.8 32bit
> Reporter: Jochen Tümmers
> Priority: Critical
>
> {{FilenameUtils.concat("c:\\temp", "~abc.txt") returns "~abc.txt/" instead of
> "c:/temp/~abc.txt".}}
> (Note: Had to replace all instances of double backslashes with forward
> slashes as the editor
> commons io 2.2. and 2.5 behave the same. 2.3 and 2.4 not tested.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)