You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/03/24 18:54:00 UTC

(opendal) branch main updated: fix(s3): fix incorrect md5 for list operations (#7298)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new cc1f90bbf fix(s3): fix incorrect md5 for list operations (#7298)
cc1f90bbf is described below

commit cc1f90bbf53ed95cf9827336b7dd645fb71f6d72
Author: dentiny <de...@gmail.com>
AuthorDate: Tue Mar 24 11:53:54 2026 -0700

    fix(s3): fix incorrect md5 for list operations (#7298)
---
 core/services/s3/src/lister.rs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/services/s3/src/lister.rs b/core/services/s3/src/lister.rs
index 8c9605296..41fad80c1 100644
--- a/core/services/s3/src/lister.rs
+++ b/core/services/s3/src/lister.rs
@@ -142,7 +142,6 @@ impl oio::PageList for S3ListerV1 {
             meta.set_is_current(true);
             if let Some(etag) = &object.etag {
                 meta.set_etag(etag);
-                meta.set_content_md5(etag.trim_matches('"'));
             }
             meta.set_content_length(object.size);
 
@@ -252,7 +251,6 @@ impl oio::PageList for S3ListerV2 {
             meta.set_is_current(true);
             if let Some(etag) = &object.etag {
                 meta.set_etag(etag);
-                meta.set_content_md5(etag.trim_matches('"'));
             }
             meta.set_content_length(object.size);
 
@@ -372,7 +370,6 @@ impl oio::PageList for S3ObjectVersionsLister {
 
             if let Some(etag) = version_object.etag {
                 meta.set_etag(&etag);
-                meta.set_content_md5(etag.trim_matches('"'));
             }
 
             let entry = oio::Entry::new(&path, meta);