mirror of
https://github.com/minio/minio.git
synced 2026-02-09 20:30:14 -05:00
server: Validate path for bad components in a handler. (#4170)
This commit is contained in:
committed by
Minio Trusted
parent
6e7d33df20
commit
058ea84605
@@ -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