[Cyberduck-trac] [Cyberduck] #11715: AWS S3 Browser fails when path contains "//"

Cyberduck trac at cyberduck.io
Fri Jun 25 15:06:19 UTC 2021

#11715: AWS S3 Browser fails when path contains "//"
    Reporter:  danielson317  |      Owner:
        Type:  defect        |     Status:  new
    Priority:  normal        |  Milestone:
   Component:  core          |    Version:  7.8.3
    Severity:  normal        |   Keywords:
Architecture:                |   Platform:
 When a path contains two delimiters without text between them the browser
 fails. AWS specifically allows this pattern so it should be supported.
 Simply treat as a directory with no name.

 To reproduce

 1. Upload a file to an s3 bucket with the path "hello/world//today.txt"
 2. Attempt to browse to the file within Cyberduck.
 3. Upon selecting the "world" directory the error states "file not found!
 contact your host."

 I was able to navigate to the directory using S3 Browser and the AWS S3
 web interface successfully and update the path.

 This is a common typo/error in when writing files via programming code so
 a fix would be welcome to help debug these kinds of mistakes.

Ticket URL: <https://trac.cyberduck.io/ticket/11715>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows

More information about the Cyberduck-trac mailing list