6.0.0-alpha10
5/14/25

[#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 (at) mbg (dot) duth (dot) gr
Created 11/24/2018 (2363 days ago)
Due
Updated 11/24/2018 (2363 days ago)
Assigned
Resolved
Milestone
Patch No

History
11/24/2018 04:41:14 PM glykos (at) mbg (dot) duth (dot) gr Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Violation of RFC 2047 in UTF-8 subject lines
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment

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


Saved Queries