fix: avoid URL unsafe chars in multipart upload ID (#16034)
This commit is contained in:
committed by
GitHub
parent
40a2c6b882
commit
5f1999cc71
@@ -109,7 +109,7 @@ func checkListMultipartArgs(ctx context.Context, bucket, prefix, keyMarker, uplo
|
||||
KeyMarker: keyMarker,
|
||||
}
|
||||
}
|
||||
_, err := base64.StdEncoding.DecodeString(uploadIDMarker)
|
||||
_, err := base64.RawURLEncoding.DecodeString(uploadIDMarker)
|
||||
if err != nil {
|
||||
logger.LogIf(ctx, err)
|
||||
return MalformedUploadID{
|
||||
|
||||
Reference in New Issue
Block a user