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
master
Nitish Tiwari 4 years ago committed by GitHub
parent 63be4709b7
commit 33767266e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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"`
}

Loading…
Cancel
Save