feat: add an annotation for ignoring URI case in HTTP match (#174)

Signed-off-by: charlie <qianglin98@qq.com>
This commit is contained in:
charlie
2023-02-14 19:52:17 +08:00
committed by GitHub
parent 6efa393e7d
commit e0807dce0b
6 changed files with 306 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ type Ingress struct {
Auth *AuthConfig
Destination *DestinationConfig
IgnoreCase *IgnoreCaseConfig
}
func (i *Ingress) NeedRegexMatch() bool {
@@ -132,6 +134,7 @@ func NewAnnotationHandlerManager() AnnotationHandler {
fallback{},
auth{},
destination{},
ignoreCaseMatching{},
},
gatewayHandlers: []GatewayHandler{
downstreamTLS{},
@@ -146,6 +149,7 @@ func NewAnnotationHandlerManager() AnnotationHandler {
ipAccessControl{},
retry{},
fallback{},
ignoreCaseMatching{},
},
trafficPolicyHandlers: []TrafficPolicyHandler{
upstreamTLS{},