-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set the field ignore_case to true when use header match #35520
Conversation
Signed-off-by: devincd <505259926@qq.com>
/retest |
Signed-off-by: devincd <505259926@qq.com>
Signed-off-by: devincd <505259926@qq.com>
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure we consider backwards compatibility. Even if this is a good change it is a behavioral change. At the very least it needs a release note.
This only impacts ext authz which is an experimental feature right?
yes,this is only impacts ext authz and I will add a release note. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, please add a release note for this change.
This should be backward compatible as the HTTP header name is considered case insensitive in the first place.
Signed-off-by: devincd <505259926@qq.com>
Signed-off-by: devincd <505259926@qq.com>
@howardjohn @yangminzhu Please take a look, thinks. |
releasenotes/notes/35220.yaml
Outdated
- 35220 | ||
releaseNotes: | ||
- | | ||
**Added** envoyExtAuthzHttp does **case-insensitive** when matches on headers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Fixed** the EnvoyExternalAuthorizationHttpProvider to match HTTP headers in a case-insensitive way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
Signed-off-by: devincd <505259926@qq.com>
LGTM, but I'll wait for John's feedback |
/retest |
Signed-off-by: devincd 505259926@qq.com
Please provide a description of this PR:
Fix the issue: #35220
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.
Please check any characteristics that apply to this pull request.