mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-11-29 11:11:52 +00:00
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. |
||
|---|---|---|
| .. | ||
| http.pcapng.out | ||
| http_asymmetric.pcapng.out | ||