From 33767266e7fb00b76ed6ceb684ea95ebadeb3c49 Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Wed, 12 Feb 2020 04:05:33 +0530 Subject: [PATCH] Fix Tagging XML Unmarshalling (#8977) AWS S3 doesn't strictly enforce the presence of URL in tagging XML. This PR updates MinIO to behave similarly. Fixes #8976 --- pkg/bucket/object/tagging/tagging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bucket/object/tagging/tagging.go b/pkg/bucket/object/tagging/tagging.go index 004cc470f..e9cbb5054 100644 --- a/pkg/bucket/object/tagging/tagging.go +++ b/pkg/bucket/object/tagging/tagging.go @@ -41,7 +41,7 @@ var ( // Tagging - object tagging interface type Tagging struct { - XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ Tagging"` + XMLName xml.Name `xml:"Tagging"` TagSet TagSet `xml:"TagSet"` }