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

Goldstein Lyor resolved SSHD-538.
---------------------------------
    Resolution: Fixed

This helped detect (and fix) a few issues with SFTP real-path command handler 
as well as SCP local file resolution

> Handle correctly paths with double-slashes in them
> --------------------------------------------------
>
>                 Key: SSHD-538
>                 URL: https://issues.apache.org/jira/browse/SSHD-538
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> According to [Single Unix Specification version 3, section 
> 3.266|http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_266]
> {quote}
> Multiple successive slashes are considered to be the same as one slash
> {quote}.
> Also according to [section 4.11 - Pathname 
> resolution|http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11]
> {quote}
> A pathname that contains at least one non-slash character and that ends with 
> one or more trailing slashes shall be resolved as if a single dot character ( 
> '.' ) were appended to the pathname.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to