We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64f687 commit bf516abCopy full SHA for bf516ab
staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go
@@ -39,7 +39,7 @@ func (a *Authenticator) AuthenticateRequest(req *http.Request) (*authenticator.R
39
if auth == "" {
40
return nil, false, nil
41
}
42
- parts := strings.Split(auth, " ")
+ parts := strings.SplitN(auth, " ", 3)
43
if len(parts) < 2 || strings.ToLower(parts[0]) != "bearer" {
44
45
0 commit comments