nDPI/tests/cfgs/http_process_response_disable
Ivan Nardi 15a686dbfa
HTTP: handle Byte Order Marks when checking for suspicious content (#3325)
Text bodies starting with a UTF-8 BOM (EF BB BF) were flagged as
NDPI_HTTP_SUSPICIOUS_CONTENT, since the check accepts only ASCII bytes.
Skip the UTF-8 BOM and check the text after it.

UTF-16 text can't be validated with an ASCII check: if the body starts
with a UTF-16 (LE/BE) BOM, consider it as acceptable.
2026-11-12 20:03:07 +01:00
..
pcap config: HTTP: enable/disable processing of HTTP responses 2024-01-18 10:21:24 +01:00
result HTTP: handle Byte Order Marks when checking for suspicious content (#3325) 2026-11-12 20:03:07 +01:00
config.txt test: rework main script 2025-12-08 17:51:32 +01:00