Skip to main content

overlong_utf8_more

Function overlong_utf8_more 

Source
pub fn overlong_utf8_more(
    payload: impl AsRef<[u8]>,
) -> Result<String, EncodeError>
Expand description

Extended overlong UTF-8 encoding (3-byte) — broader coverage with 3-byte sequences.

Context: iis-6 — some WAFs reject 2-byte overlongs but accept 3-byte overlongs.