mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
update dependencies for CVE fix x/net
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/minio/minio-go/v7"
|
||||
"github.com/minio/minio-go/v7/pkg/s3utils"
|
||||
"github.com/minio/minio-go/v7/pkg/tags"
|
||||
"github.com/minio/minio/internal/crypto"
|
||||
"github.com/minio/minio/internal/hash"
|
||||
xhttp "github.com/minio/minio/internal/http"
|
||||
@@ -81,7 +81,14 @@ func fanOutPutObject(ctx context.Context, bucket string, objectAPI ObjectLayer,
|
||||
for k, v := range req.UserMetadata {
|
||||
userDefined[k] = v
|
||||
}
|
||||
userDefined[xhttp.AmzObjectTagging] = s3utils.TagEncode(req.UserTags)
|
||||
|
||||
tgs, err := tags.NewTags(req.UserTags, true)
|
||||
if err != nil {
|
||||
errs[idx] = err
|
||||
return
|
||||
}
|
||||
|
||||
userDefined[xhttp.AmzObjectTagging] = tgs.String()
|
||||
|
||||
if opts.Kind != nil {
|
||||
encrd, objectEncryptionKey, err := newEncryptReader(ctx, hr, opts.Kind, opts.KeyID, opts.Key, bucket, req.Key, userDefined, opts.KmsCtx)
|
||||
|
||||
Reference in New Issue
Block a user