Support GetBucketCORS for CORS without xmlns attribute #594
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#594
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Behavior
support GetBucketCORS operation for such files
Current Behavior
"description":"could not get cors","user":"","error":"unmarshal cors: expected element in name space http://s3.amazonaws.com/doc/2006-03-01/ but have no name space"
Possible Solution
Modify
NewXmlDecoder()
Steps to Reproduce (for bugs)
Actually, not. Solution is using this method here
if err = xml.NewDecoder(obj.Payload).Decode(&cors); err != nil {
Done in #600