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

When copying a link from an S3 file, it fails to include the bucket. #2516

Closed
cyberduck opened this issue Aug 27, 2008 · 4 comments
Closed
Assignees
Labels
bug fixed s3 AWS S3 Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

anonymous created the issue

  1. Connect to S3
  2. Create a folder named "test"
  3. Upload a file (e.g. "foo.txt")
  4. Right click on the file and select "Copy URL"
  5. The URL will not be ".../test/foo.txt" but rather ".../foo.txt"
@cyberduck
Copy link
Collaborator Author

@dkocher commented

The bucket name is ommited in the path but instead added to the domain name. E.g. test.s3.amazonaws.com/foo.txt which should resolve correctly.

@cyberduck
Copy link
Collaborator Author

9ba40d7 commented

Some more possibly relevant information:

  • I don't have a path in my S3 connection.

  • I use "New Folder..." to make the folder, I called it "Bogus"

  • I then dragged a file named Marriott-bed-4.jpg into the folder.

  • Right click to Copy URL of a file dragged in there results in https://s3.amazonaws.com/Marriott-bed-4.jpg

It's definitely a bug, just not sure what's different between our two setups. Feel free to contact me over email if you need more information. I'm on the CC.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I can confirm this now. It happens if you create a bucket using an uppercase character. Because the DNS system is not case sensitive, uppercase buckets are not accessible using a virtual hostname for the bucket name.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 0cd84f2.

@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