From eb439e77b381cc9373da4a740bb56f8252eac780 Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Fri, 1 Sep 2023 06:46:34 +0000 Subject: [PATCH] ext_authz: fix handling of non-UTF-8 bodies calling http_service (#28487) Commit 664f3fce4730544f34ae767e10150fb6be11cdc6 changed how this data is handled, but was only intended to apply when calling grpc_service. Fixes #27386 Signed-off-by: Greg Greenway Mirrored from https://github.com/envoyproxy/envoy @ 6b276066f4704abbbc870ed2bb71e3225476a1a2 --- envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto b/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto index 4823ace7..cd2d1f6f 100644 --- a/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto +++ b/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto @@ -208,6 +208,11 @@ message BufferSettings { // field of HTTP request attribute context. Otherwise, :ref:`body // ` will be filled // with UTF-8 string request body. + // + // This field only affects configurations using a :ref:`grpc_service + // `. In configurations that use + // an :ref:`http_service `, this + // has no effect. bool pack_as_bytes = 3; }