From baac3a6ca536bf52e21013894d8791263eb12990 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Mon, 1 Sep 2025 21:05:53 +0200 Subject: [PATCH] htp: typo fix for Content-Encoding: identity Ticket: 7862 --- htp/htp_transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htp/htp_transaction.c b/htp/htp_transaction.c index 014589b3..8bbe5f8a 100644 --- a/htp/htp_transaction.c +++ b/htp/htp_transaction.c @@ -1348,7 +1348,7 @@ htp_status_t htp_tx_state_response_headers(htp_tx_t *tx) { } 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 || - bstr_cmp_c_nocasenorzero(ce->value, "identify") == 0) { + bstr_cmp_c_nocasenorzero(ce->value, "identity") == 0) { // ignore } else { /* exceptional cases: enter slow path */