Skip to main content

email_has_header_breaks

Function email_has_header_breaks 

Source
pub fn email_has_header_breaks(value: &str) -> bool
Expand description

Rejects CRLF header injection in email field values.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::email_has_header_breaks holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::email_has_header_breaks("value");