From b1201e61460130730bc11077a0170a16754ceee0 Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 14:47:12 +0000 Subject: [PATCH] mismatch content type should set on_error metadata in json_to_metadata filter (#33073) * mismatch content type should set on_error metadata in json_to_metadata filter Signed-off-by: kuochunghsu Mirrored from https://github.com/envoyproxy/envoy @ 6aea06a3e9ba5ee7f5537cf0f70a72bdbb35ab72 --- .../filters/http/json_to_metadata/v3/json_to_metadata.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envoy/extensions/filters/http/json_to_metadata/v3/json_to_metadata.proto b/envoy/extensions/filters/http/json_to_metadata/v3/json_to_metadata.proto index 97f59330..82bf67e2 100644 --- a/envoy/extensions/filters/http/json_to_metadata/v3/json_to_metadata.proto +++ b/envoy/extensions/filters/http/json_to_metadata/v3/json_to_metadata.proto @@ -89,7 +89,7 @@ message JsonToMetadata { // The value in the KeyValuePair must be set. KeyValuePair on_missing = 3; - // If the body is too large or fail to parse, apply this metadata KeyValuePair. + // If the body is too large or fail to parse or content-type is mismatched, apply this metadata KeyValuePair. // // The value in the KeyValuePair must be set. KeyValuePair on_error = 4;