mirror of
https://github.com/alibaba/higress.git
synced 2026-04-20 19:47:29 +08:00
feat: add an annotation for ignoring URI case in HTTP match (#174)
Signed-off-by: charlie <qianglin98@qq.com>
This commit is contained in:
@@ -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{},
|
||||
|
||||
Reference in New Issue
Block a user