6.0.0-git
2018-12-15

[#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 2018-11-24 (21 days ago)
Due
Updated 2018-11-24 (21 days ago)
Assigned
Resolved
Milestone
Patch No

History
2018-11-24 16:41:14 glykos (at) mbg (dot) duth (dot) gr Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
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