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

Richard Adams commented on IO-606:
----------------------------------

This might be unexpected behaviour,  but I don't think this is a bug. According 
to documentation of {{{}normalize{}}}:

{color:#629755}If the double dot has no parent path segment to work with, 
{{color}{color:#629755}@code {color}{color:#629755}null}
{color}{color:#629755} is returned.{color}

 

 

 

> FilenameUtils.concat fails with relative path
> ---------------------------------------------
>
>                 Key: IO-606
>                 URL: https://issues.apache.org/jira/browse/IO-606
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.6
>            Reporter: Matthias Ronge
>            Priority: Major
>
> {{FilenameUtils.concat("../../../../src/test/resources/", "filename.xml")}}
> returns {{null}}, where expected result should be like
> {{../../../../src/test/resources/filename.xml}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to