mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
* s3: match copy-source ETags as the read and write paths do validateSourceConditionalHeaders compared the source ETag to the header value with strings.Trim, so x-amz-copy-source-if-none-match: W/"<etag>" did not match and an unchanged source was copied instead of answered with 412. An If-Match list that contained the source's ETag was rejected for the same reason. RenameObject shares the helper, so x-amz-rename-source-if-* behaved the same way. Use util.ETagListMatches, which the GET and PUT paths already use: strong comparison for If-Match, weak for If-None-Match, and the quoted tag lists RFC 9110 allows. * s3: drop the history comment from the copy-source ETag checks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * mount: skip the truncate manifest test on freebsd like its fake filer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>