mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03:00
gateway-gcs: double quotes should be striped from ETag (#4590)
This commit is contained in:
committed by
Harshavardhana
parent
a3b085300d
commit
ff036c171f
+1
-1
@@ -311,7 +311,7 @@ func fromMinioClientObjectInfo(bucket string, oi minio.ObjectInfo) ObjectInfo {
|
|||||||
Name: oi.Key,
|
Name: oi.Key,
|
||||||
ModTime: oi.LastModified,
|
ModTime: oi.LastModified,
|
||||||
Size: oi.Size,
|
Size: oi.Size,
|
||||||
ETag: oi.ETag,
|
ETag: canonicalizeETag(oi.ETag),
|
||||||
UserDefined: userDefined,
|
UserDefined: userDefined,
|
||||||
ContentType: oi.ContentType,
|
ContentType: oi.ContentType,
|
||||||
ContentEncoding: oi.Metadata.Get("Content-Encoding"),
|
ContentEncoding: oi.Metadata.Get("Content-Encoding"),
|
||||||
|
|||||||
Reference in New Issue
Block a user