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

Trim extra spaces in metadata for canonicalized request #278

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

poornas
Copy link
Contributor

@poornas poornas commented Jan 18, 2019

S3 Spec requires canonicalized header string to have all extra
spaces trimmed down to a single space. This PR fixes #277, where
metadata with extra spaces in the value was causing a signature
verification mismatch.

S3 Spec requires canonicalized header string to have all extra
spaces trimmed down to a single space. This PR fixes minio#277, where
metadata with extra spaces in the value was causing a signature
verification mismatch.
Copy link

@sinhaashish sinhaashish left a comment

Choose a reason for hiding this comment

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

LGTM

@kannappanr kannappanr merged commit 28ac912 into minio:master Jan 24, 2019
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.

Signature invalid if metadata contains two consecutive spaces
4 participants