You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a bucket, e.g.: aws --no-verify-ssl s3api create-bucket --bucket versity-gwtest-bucket-one-1
Create two local objects, and place in the s3 bucket, e.g.: aws --no-verify-ssl s3api put-object --body /Users/lukemccrone/devel/versitygw/versity-gwtest-files/test_file --bucket versity-gwtest-bucket-one-1 --key test_file
Send a list-objects command with the max-keys parameter set to 1 and no delimiter, e.g.: curl -ks -w %{http_code} https://localhost:7070/versity-gwtest-bucket-one-1?max-keys=1 -H Authorization: AWS4-HMAC-SHA256 Credential=********/20241223/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date,Signature=7942ff240c58c0af5758511b67a6d186eb1468fb49cf81bc29c88689f35306a5 -H x-amz-content-sha256: UNSIGNED-PAYLOAD -H x-amz-date: 20241223T180835Z -o /Users/lukemccrone/devel/versitygw/versity-gwtest-files/objects.txt
Expected behavior
The NextMarker parameter doesn't show up.
Server Version
Version : v1.0.9
Build : c0b6183
BuildTime: 2024-12-20_07:07:55PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
The text was updated successfully, but these errors were encountered:
Describe the bug
For REST ListObjects, the NextMarker param should only be used if the delimiter is set. It's appearing despite not being set.
To Reproduce
./versitygw --access=******** --secret=******** --region=us-east-1 --iam-dir=/Users/lukemccrone/devel/versitygw/iam --cert /Users/lukemccrone/devel/versitygw/cert.pem --key /Users/lukemccrone/devel/versitygw/versitygw.pem posix --versioning-dir /tmp/versioning /tmp/gw
aws --no-verify-ssl s3api create-bucket --bucket versity-gwtest-bucket-one-1
aws --no-verify-ssl s3api put-object --body /Users/lukemccrone/devel/versitygw/versity-gwtest-files/test_file --bucket versity-gwtest-bucket-one-1 --key test_file
curl -ks -w %{http_code} https://localhost:7070/versity-gwtest-bucket-one-1?max-keys=1 -H Authorization: AWS4-HMAC-SHA256 Credential=********/20241223/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date,Signature=7942ff240c58c0af5758511b67a6d186eb1468fb49cf81bc29c88689f35306a5 -H x-amz-content-sha256: UNSIGNED-PAYLOAD -H x-amz-date: 20241223T180835Z -o /Users/lukemccrone/devel/versitygw/versity-gwtest-files/objects.txt
Expected behavior
The NextMarker parameter doesn't show up.
Server Version
Version : v1.0.9
Build : c0b6183
BuildTime: 2024-12-20_07:07:55PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
The text was updated successfully, but these errors were encountered: