mirror of
https://github.com/minio/minio.git
synced 2025-01-26 06:03:17 -05:00
gateway-gcs: double quotes should be striped from ETag (#4590)
This commit is contained in:
parent
a3b085300d
commit
ff036c171f
@ -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"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user