mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-20 03:13:53 +01:00
* s3api: accept an empty ListObjectsV2 continuation-token An empty continuation-token lists from the start and is echoed back empty, as S3 does; rejecting it broke s3-tests test_bucket_listv2_continuationtoken_empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3api: leave the ListObjects V1 Prefix unencoded under encoding-type=url S3 encodes the V1 Delimiter, markers and keys but echoes Prefix as sent, and botocore, which always asks for url encoding, decodes the V1 Prefix only for V2. Encoding it broke s3-tests test_bucket_list_prefix_unreadable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3api: use a codespell-clean key in the versions encoding test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * s3api: URL-encode a V1 Prefix that XML cannot carry Leaving the V1 Prefix raw under encoding-type=url turned a control character such as \x01 into U+FFFD in the response. Such a prefix is URL-encoded again; prefixes that are valid XML text, including '\n', stay as sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>