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

fail properly while parsing duplicate tags #1701

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

harshavardhana
Copy link
Member

AWS S3 API expects duplicate keys to be rejected,
due to our usage of url.ParseQuery() this was skipped
since URL query parser simply appends duplicate keys
as key with multiple values, this is not desirable.

Add more input validation and restrictions as per
AWS S3 API.

pkg/tags/tags.go Outdated Show resolved Hide resolved
AWS S3 API expects duplicate keys to be rejected,
due to our usage of url.ParseQuery() this was skipped
since url query parser simply appends duplicate keys
as key with multiple values, this is not desirable.

Add more input validation and restrictions as per
AWS S3 API.
@harshavardhana harshavardhana merged commit 0a38a12 into minio:master Sep 28, 2022
@harshavardhana harshavardhana deleted the tags branch September 28, 2022 09:00
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