Skip to content

Commit baac3a6

Browse files
committed
htp: typo fix for Content-Encoding: identity
Ticket: 7862
1 parent 2123d1b commit baac3a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

htp/htp_transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ htp_status_t htp_tx_state_response_headers(htp_tx_t *tx) {
13481348
} else if (bstr_cmp_c_nocasenorzero(ce->value, "lzma") == 0) {
13491349
tx->response_content_encoding = HTP_COMPRESSION_LZMA;
13501350
} else if (bstr_cmp_c_nocasenorzero(ce->value, "inflate") == 0 ||
1351-
bstr_cmp_c_nocasenorzero(ce->value, "identify") == 0) {
1351+
bstr_cmp_c_nocasenorzero(ce->value, "identity") == 0) {
13521352
// ignore
13531353
} else {
13541354
/* exceptional cases: enter slow path */

0 commit comments

Comments
 (0)