[Cyberduck-trac] [Cyberduck] #11715: AWS S3 Browser fails when path contains "//"
Cyberduck
trac at cyberduck.io
Fri Jun 25 15:10:14 UTC 2021
#11715: AWS S3 Browser fails when path contains "//"
--------------------------+------------------------
Reporter: danielson317 | Owner: dkocher
Type: defect | Status: new
Priority: normal | Milestone:
Component: s3 | Version: 7.8.3
Severity: normal | Resolution:
Keywords: | Architecture:
Platform: |
--------------------------+------------------------
Changes (by dkocher):
* owner: => dkocher
* component: core => s3
Old description:
> 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."
>
> Workaround:
> 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.
New description:
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."
Workaround:
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#comment:2>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list