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 region: Enable buckets that contain periods in their name for fetc… #5747

Closed

Conversation

aditya-nambiar
Copy link

@aditya-nambiar aditya-nambiar commented May 10, 2024

…hing region

Which issue does this PR close?

#5748

Closes #.

Rationale for this change

Currently we use the endpoint - let endpoint = format!("https://{}.s3.amazonaws.com", bucket);

This breaks down for buckets that have periods in them, since the certificates dont exist appropriately. By switching to the URL https://s3.amazonaws.com/{}/ we are able to ALSo support buckets with periods

Are there any user-facing changes?

No

@github-actions github-actions bot added the object-store Object Store Interface label May 10, 2024
@tustvold
Copy link
Contributor

Could we possibly get a test for this?

@garyhuntddn
Copy link

Just a thought - I note you’ve included a trailing / in the revised endpoint url.

If I’m reading sdk/aws-smithy-runtime/src/client/endpoint.rs correctly then that trailing slash will get removed, so it would be better without it.

@alamb alamb marked this pull request as draft June 17, 2024 16:57
@alamb
Copy link
Contributor

alamb commented Jun 17, 2024

Marking as draft while feedback (need for a test) is addressed. Please mark it as ready for review when it is ready for another look

@tustvold
Copy link
Contributor

tustvold commented Oct 8, 2024

Closing as this PR has been inactive for a while

@tustvold tustvold closed this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants