[#14877] Violation of RFC 2047 in UTF-8 subject lines
Summary Violation of RFC 2047 in UTF-8 subject lines
Queue IMP
Queue Version 6.2.11
Type Bug
State Unconfirmed
Priority 2. Medium
Owners
Requester glykos@mbg.duth.gr
Created 2018-11-24 (301 days ago)
Due
Updated 2018-11-24 (301 days ago)
Assigned
Resolved
Milestone
Patch No

Comments
glykos@mbg.duth.gr 2018-11-24 16:41:14

The UTF-encoded subject line can be split in the middle of a 
multi-byte UTF-8 character which breaks RFC 2047.

Example :

Subject: 
=?utf-8?b?zpHOnc6RzprOn86Zzp3Oqc6jzpcgzpPOmc6RIM6VzprOpM6lzqDOqc6jzpcgzpTO?=
  =?utf-8?b?mc6UzpHOms6kzpnOms6pzp0gzqPOl86czpXOmc6pzqPOlc6pzp0gzpPOmc6RIM6V?=
  =?utf-8?b?zpHOoc6Zzp3OnyDOlc6ezpHOnM6Xzp3Onw==?= 2018-19

which with strict decoding ( http://dogmamix.com/MimeHeadersDecoder/ ) gives :

Subject: ?????????? ??? ???????? ??????????? ?????????? ??? ?????? 
??????? 2018-19