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...
github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github....
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...