fix: avoid URL unsafe chars in multipart upload ID (#16034)

This commit is contained in:
Aditya Manthramurthy
2022-11-09 16:41:16 -08:00
committed by GitHub
parent 40a2c6b882
commit 5f1999cc71
3 changed files with 6 additions and 5 deletions

View File

@@ -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{