[PR #171] [MERGED] Support buckets with mixed-case names #1379

Closed
opened 2026-03-04 01:53:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/171
Author: @pabigot
Created: 4/19/2015
Status: Merged
Merged: 4/20/2015
Merged by: @ggtakec

Base: masterHead: mixedcase


📝 Commits (1)

  • 92fcee8 curl: use pathrequeststyle option when constructing Host endpoint

📊 Changes

2 files changed (+6 additions, -3 deletions)

View changed files

📝 src/curl.cpp (+3 -0)
📝 src/s3fs.cpp (+3 -3)

📄 Description

Buckets with mixed-case names can't be accessed with the virtual-hosted style API due to DNS limitations. S3FS has an option for pathrequeststyle which is used for the URL, but it was not applied when building the endpoint passed through the Host header. Fix this, and relax the validation on bucket names when using this style.

See: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/171 **Author:** [@pabigot](https://github.com/pabigot) **Created:** 4/19/2015 **Status:** ✅ Merged **Merged:** 4/20/2015 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `mixedcase` --- ### 📝 Commits (1) - [`92fcee8`](https://github.com/s3fs-fuse/s3fs-fuse/commit/92fcee824bc67e9daf518b993bf865be3a71de9f) curl: use pathrequeststyle option when constructing Host endpoint ### 📊 Changes **2 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+3 -0) 📝 `src/s3fs.cpp` (+3 -3) </details> ### 📄 Description Buckets with mixed-case names can't be accessed with the virtual-hosted style API due to DNS limitations. S3FS has an option for pathrequeststyle which is used for the URL, but it was not applied when building the endpoint passed through the Host header. Fix this, and relax the validation on bucket names when using this style. See: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:53:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1379
No description provided.