fix: reject start-after in ListObjects V1

listobjects v1 now returns InvalidArgument when the start-after query parameter is present, matching s3, which only accepts it with list-type=2. previously the parameter was silently ignored.

Fixes #2004
This commit is contained in:
dualfroz committed 2026-10-07 19:38:54 +02:00
1 parent 09e1b65724
commit b3bf48bdcb
6 files changed
+67 -3

No files matched your search

-3
View File
@@ -260,9 +260,6 @@ source ./tests/drivers/objects_and_versions.sh
# tags: curl,ListObjects,start-after,invalid-query
@test "ListObjectsV1 - start-after - error" {
if [ "$DIRECT" != "true" ]; then
skip "https://github.com/versity/versitygw/issues/2004"
fi
run setup_bucket_and_files_v3 "$BUCKET_ONE_NAME" 2
assert_success
read -r bucket_name file_one file_two <<< "$output"