Browser: Added character limit for Bucket Name. (#3454)

master
koolhead17 8 years ago committed by Harshavardhana
parent f7766b49aa
commit 7a17b2a585
  1. 2
      cmd/web-handlers.go

@ -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…
Cancel
Save