ext_authz: Use 403 as default for denied response (#18010)
Before this, when a gRPC server sends out DeniedResponse as a check response for a request but without setting the HttpResponse.DeniedResponse.Status, HTTP ext_authz filter translates that as "0" (empty/unknown HTTP status code). This patch makes sure we reply with a valid 403 Forbidden HTTP status code (the current default status code for denied response). Signed-off-by: Dhi Aurrahman <dio@rockybars.com> Mirrored from https://github.com/envoyproxy/envoy @ e3af0943fff8444660a797cce6a78fd956e3c2cfpull/624/head
parent
dd7cde1c7b
commit
f6118febc7
1 changed files with 6 additions and 4 deletions
Loading…
Reference in new issue