mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-10 14:15:42 +00:00
5d84d5af5c
NormalizeMessageID now returns empty for a value containing CR or LF. A source_id with an embedded line break would render as a malformed In-Reply-To/References header on outbound replies. The IMAP path never sees such values; the HTTP API can, so the helper rejects them. An empty result leaves the column NULL, so a bad value degrades threading rather than producing invalid mail headers.