mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
web: Validate if bucket names are reserved (#3841)
Both '.minio.sys' and 'minio' should be never allowed to be created from web-ui and then fail to list it by filtering them out. Fixes #3840
This commit is contained in:
@@ -265,6 +265,8 @@ func testMakeBucketWebHandler(obj ObjectLayer, instanceType string, t TestErrHan
|
||||
{"", false},
|
||||
{".", false},
|
||||
{"ab", false},
|
||||
{"minio", false},
|
||||
{".minio.sys", false},
|
||||
{bucketName, true},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user