mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
Browser: Added character limit for Bucket Name. (#3454)
This commit is contained in:
parent
f7766b49aa
commit
7a17b2a585
@ -805,7 +805,7 @@ func toJSONError(err error, params ...string) (jerr *json2.Error) {
|
||||
case "InvalidBucketName":
|
||||
if len(params) > 0 {
|
||||
jerr = &json2.Error{
|
||||
Message: fmt.Sprintf("Bucket Name %s is invalid. Lowercase letters, period and numerals are the only allowed characters.", params[0]),
|
||||
Message: fmt.Sprintf("Bucket Name %s is invalid. Lowercase letters, period, numerals are the only allowed characters and should be minimum 3 characters in length.", params[0]),
|
||||
}
|
||||
}
|
||||
// Bucket not found custom error message.
|
||||
|
Loading…
Reference in New Issue
Block a user