pass = strings.Replace(pass, "{user}", user, -1) hash := []byte{} flag, err, flag2 := Smb2Con(info, user, pass, hash, hasprint) if flag2 { hasprint = true } if time.Now().Unix()-starttime > (int64(len(common.Userdict["smb"])*len(common.Passwords)) * common.Timeout...
scheme := strings.ToLower(e.GetStringAnnotation(annotations.AnnotationsUpstreamScheme)) if scheme == "" { return nil, nil } _, ok := apisixv1.ValidSchemes[scheme] if ok { return scheme, nil Expand Down 19 changes: 19 additions & 0 deletions 19 pkg/providers/ingress/translation/translat...
Browse the repository at this point in the history Fix parsing of 'false' as Boolean option value (#1382) … Rouge allows for options to be passed to a lexer's constructor method. The options are parsed from strings and the string 'false' was not being converted to the Boolean value...