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 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 */