From d23bf681c5d23b2452e615d33ee76e7d8884ab72 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 28 Aug 2025 12:11:44 +0200 Subject: [PATCH 1/2] htp: do not log anomaly for Content-Encoding: identity Ticket: 7862 --- htp/htp_transaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htp/htp_transaction.c b/htp/htp_transaction.c index 9cde4155..014589b3 100644 --- a/htp/htp_transaction.c +++ b/htp/htp_transaction.c @@ -1347,7 +1347,8 @@ htp_status_t htp_tx_state_response_headers(htp_tx_t *tx) { tx->response_content_encoding = HTP_COMPRESSION_DEFLATE; } else if (bstr_cmp_c_nocasenorzero(ce->value, "lzma") == 0) { tx->response_content_encoding = HTP_COMPRESSION_LZMA; - } else if (bstr_cmp_c_nocasenorzero(ce->value, "inflate") == 0) { + } else if (bstr_cmp_c_nocasenorzero(ce->value, "inflate") == 0 || + bstr_cmp_c_nocasenorzero(ce->value, "identify") == 0) { // ignore } else { /* exceptional cases: enter slow path */ From 2123d1b306755d431a2d5481552fd90bfea4d864 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Fri, 29 Aug 2025 12:51:25 +0200 Subject: [PATCH 2/2] ci: bump version for cifuzz upload-artifact action --- .github/workflows/cifuzz.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 36fb6d10..ca3134f6 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -19,7 +19,7 @@ jobs: dry-run: false language: c++ - name: Upload Crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() && steps.build.outcome == 'success' with: name: artifacts