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

Avoid setting server encryption headers with x-amz-meta #859

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

harshavardhana
Copy link
Member

No description provided.

utils.go Outdated
"x-amz-server-side-encryption-customer-key-MD5",
}

// isCSEHeader returns true if header is a client side encryption header.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a Typo. Needs to be

isSSEHeader returns true if header is a server side encryption header.

utils.go Outdated
@@ -255,3 +256,24 @@ func isCSEHeader(headerKey string) bool {
}
return false
}

// sseHeaders is list of client side encryption headers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment needs to be

sseHeaders is list of server side encryption headers

Copy link
Collaborator

@kannappanr kannappanr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified. LGTM

@deekoder deekoder merged commit b2b132b into minio:master Oct 27, 2017
@harshavardhana harshavardhana deleted the x-amz-meta branch October 27, 2017 23:55
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.

4 participants