mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
fix: avoid URL unsafe chars in multipart upload ID (#16034)
This commit is contained in:
committed by
GitHub
parent
40a2c6b882
commit
5f1999cc71
@@ -1051,9 +1051,10 @@ func testListMultipartUploads(obj ObjectLayer, instanceType string, t TestErrHan
|
||||
fmt.Errorf("Invalid combination of uploadID marker '%s' and marker '%s'", "abc", "asia/europe/"), false,
|
||||
},
|
||||
{
|
||||
bucketNames[0], "asia", "asia/europe", "abc", "", 0,
|
||||
// Contains a base64 padding character
|
||||
bucketNames[0], "asia", "asia/europe", "abc=", "", 0,
|
||||
ListMultipartsInfo{},
|
||||
fmt.Errorf("Malformed upload id %s", "abc"), false,
|
||||
fmt.Errorf("Malformed upload id %s", "abc="), false,
|
||||
},
|
||||
|
||||
// Setting up valid case of ListMultiPartUploads.
|
||||
|
||||
Reference in New Issue
Block a user