mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: on windows avoid ':' as part of the object name (#19907)
fixes #18865 avoid-colon
This commit is contained in:
@@ -231,7 +231,7 @@ func parseRequestToken(token string) (subToken string, nodeIndex int) {
|
||||
if token == "" {
|
||||
return token, -1
|
||||
}
|
||||
i := strings.Index(token, getBatchJobIDSeparator())
|
||||
i := strings.Index(token, getKeySeparator())
|
||||
if i < 0 {
|
||||
return token, -1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user