Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 with initial path #7355

Closed
cyberduck opened this issue Jul 19, 2013 · 3 comments
Closed

S3 with initial path #7355

cyberduck opened this issue Jul 19, 2013 · 3 comments
Assignees
Labels
bug fixed s3 AWS S3 Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

15558da created the issue

On S3, if user supplies the initial path, the request sent is

GET /<path>/?delimiter=%2F&max-keys=1000&prefix HTTP/1.1

that is GET Object: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html

but it should be

GET /?delimiter=%2F&max-keys=1000&prefix=<path> HTTP/1.1

GET Bucket: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html

to list the bucket starting with the prefix.

Also, the should have the delimiter added at end.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I cannot replicate this with the latest snapshot build. I have bookmarked the path /test.cyberduck.ch/test which leads to the request

GET /?delimiter=%2F&max-keys=1000&prefix=test%2F HTTP/1.1
Date: Sun, 21 Jul 2013 19:27:58 GMT
Host: test.cyberduck.ch.s3.amazonaws.com:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.4 (Mac OS X/10.8.4) (x86_64)

@cyberduck
Copy link
Collaborator Author

15558da commented

Yes, but only when doing anonymous. When authentication is enabled, the requests are wrong. Tested on build 12380

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fix and tests in 2730182.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants