Skip to content

Conversation

vadmeste
Copy link
Member

The existing code always picks a path style signature when
v2 mode is selected. Reviewing the history shows little information
why it is done that way.

A previous recent commit, 24cdd7f,
though it seems correct, broke existing deployments that use GCS
(e.g. minio/mc#4547)

We should not sign v2 with path style when the endpoint is vhost.

This commit is tested with MinIO/AWS/GCS when v2 is enabled.

The existing code always picks a path style signature when v2 mode is
selected. Reviewing the history shows little information why it is done
that way.

A previous recent commit, 24cdd7f,
though it seems correct,  broke existing deployments that use GCS
(e.g. minio/mc#4547)

We should not sign v2 with path style when the endpoint is vhost.

This commit is tested with  MinIO/AWS/GCS when v2 is enabled.
@harshavardhana harshavardhana merged commit 0bf84b3 into minio:master Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants