Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

SmtpSafeMailboxSegment

function SmtpSafeMailboxSegment(const aLocalPart: string; out aSegment: string): Boolean;
THE ALLOWLIST for a directory name derived from a local part. Letters, digits, dot, underscore and hyphen only; no leading dot; bounded length; and no name a Windows filesystem reserves. False means the local part does not get a directory - there is no escaping or mangling fallback, because a mangling that is wrong once is a path traversal.