Skip to content

Max-keys verification should not be too strict #547

@alexkuku

Description

@alexkuku

Recently you make some changes about the max-keys verification,as shown below:
Image
Honestly speaking, I can't say there's anything wrong with this, after all, AWS does it this way. But in MinIO, if I use max-keys greater than 1000, it will be changed to 1000 instead of returning error 400.
I don't want to discuss whether AWS or Minio is better in this matter, but from my perspective, less strong validation should be compatible with more usage cases. So I think if max-keys exceeds 1000, it should be better to change max-keys to 1000 instead of returning an error directly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions