Skip to content

Conversation

@vadmeste
Copy link
Member

Pass 'é' or other non us-ascii character as a metadata value shows
a signature mismatch error. The reason is that S3 server ignores
those characters in headers since only US-ASCII characters are
supported in HTTP headers.

This commit shows an exception so users can understand better
what's going on.

Fixes #764

@kannappanr kannappanr requested review from kannappanr and poornas June 11, 2019 13:58
@poornas
Copy link
Contributor

poornas commented Jun 11, 2019

@vadmeste, can you rebase?

@vadmeste vadmeste force-pushed the error branch 3 times, most recently from a5f3a1b to 0a019ea Compare June 12, 2019 11:16
@vadmeste
Copy link
Member Author

@vadmeste, can you rebase?

Done

Pass 'é' or other non us-ascii character as a metadata value shows
a signature mismatch error. The reason is that S3 server ignores
those characters in headers since only US-ASCII characters are
supported in HTTP headers.

This commit shows an exception so users can understand better
what's going on.
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.

LGTM

Copy link
Contributor

@poornas poornas 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 e246926 into minio:master Jun 12, 2019
tjd2002 added a commit to regro-cf-autotick-bot/minio-feedstock that referenced this pull request Jun 13, 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.

minio.error.SignatureDoesNotMatch non ascii metadata

3 participants