versitygw icon indicating copy to clipboard operation
versitygw copied to clipboard

[Bug] - LlistObjects(V2) truncated response with delimiter

Open jonaustin09 opened this issue 5 months ago • 0 comments

Describe the bug ListObjects(V2) returns truncated response when there are 2 or more objects with the same common prefix, when max-keys is reached.

To Reproduce

aws s3api create-bucket --bucket test
aws s3api put-object --bucket test --key asdf
aws s3api put-object --bucket test --key boo/bar
aws s3api put-object --bucket test --key boo/baz/xyzzy
aws s3api put-object --bucket test --key cquux/thud
aws s3api put-object --bucket test --key cquux/bla
aws s3api list-objects --bucket test --delimiter / --marker boo/ --max-keys 1

Expected behavior The actions should return non-truncated response.

jonaustin09 avatar Sep 19 '24 17:09 jonaustin09