mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
server: Validate path for bad components in a handler. (#4170)
This commit is contained in:
@@ -48,6 +48,9 @@ var errFileNotFound = errors.New("file not found")
|
||||
// errFileNameTooLong - given file name is too long than supported length.
|
||||
var errFileNameTooLong = errors.New("file name too long")
|
||||
|
||||
// errFileComponentInvalid - given file name has invalid components.
|
||||
var errFileComponentInvalid = errors.New("file name has invalid components")
|
||||
|
||||
// errVolumeExists - cannot create same volume again.
|
||||
var errVolumeExists = errors.New("volume already exists")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user