]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Preserve real_charset in set_part_binary() 5984/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Mon, 13 Apr 2026 17:07:21 +0000 (20:07 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Mon, 13 Apr 2026 17:07:21 +0000 (20:07 +0300)
commitfb12c1ebc4ff833c1d20ce9cc7587b6eae7648b6
tree29f435ad3ed4e482d720bf78e0a1014383eacce2
parent0ef6ab9b33273a698fa836cddcbe0f22c80c9ae6
[Minor] Preserve real_charset in set_part_binary()

Early exit via set_part_binary() skipped the text_part->real_charset
assignment, leaving it NULL and causing downstream consumers to report
#cs:unk instead of #cs:x-binaryenc for binary parts.
src/libmime/mime_encoding.c