Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forwardNotMatchingPreflights (0.79 sec)

  1. pilot/pkg/networking/core/route/route_internal_test.go

    			{MatchType: &networking.StringMatch_Regex{Regex: "regex"}},
    		},
    		UnmatchedPreflights: networking.CorsPolicy_IGNORE,
    	}
    	expectedCorsPolicy := &cors.CorsPolicy{
    		ForwardNotMatchingPreflights: wrapperspb.Bool(false),
    		AllowOriginStringMatch: []*matcher.StringMatcher{
    			{MatchPattern: &matcher.StringMatcher_Exact{Exact: "exact"}},
    			{MatchPattern: &matcher.StringMatcher_Prefix{Prefix: "prefix"}},
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    	// Istio start support this feature from 1.23.
    	if proxy.VersionGreaterAndEqual(&model.IstioVersion{Major: 1, Minor: 23, Patch: -1}) {
    		out.ForwardNotMatchingPreflights = forwardNotMatchingPreflights(in)
    	}
    
    	// nolint: staticcheck
    	if in.AllowOrigins != nil {
    		out.AllowOriginStringMatch = util.ConvertToEnvoyMatches(in.AllowOrigins)
    	} else if in.AllowOrigin != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top