From b11a8eb3f41dca7c51b6c7a90c04c27e12278987 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 12 Jul 2018 09:40:14 -0700 Subject: [PATCH] Support multiple values for x-amz-meta header (#6145) Fixes #5595 --- cmd/handler-utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/handler-utils.go b/cmd/handler-utils.go index 17a785708..591f826ce 100644 --- a/cmd/handler-utils.go +++ b/cmd/handler-utils.go @@ -156,7 +156,7 @@ func extractMetadataFromMap(ctx context.Context, v map[string][]string, m map[st } value, ok := v[key] if ok { - m[key] = value[0] + m[key] = strings.Join(value, ",") break } }