Composer: do not quote RFC2231 parameters
commit2f138e67afc7462ce56919f5b06bb7f8dec3858b
authorJan Kundrát <jkt@kde.org>
Mon, 22 Feb 2016 17:36:12 +0000 (22 18:36 +0100)
committerJan Kundrát <jkt@kde.org>
Mon, 22 Feb 2016 17:36:12 +0000 (22 18:36 +0100)
tree840329a35ebc847b642ed528aba15c5f40110e91
parent25fa59a353148610307f6efe92e35050e8815ca2
Composer: do not quote RFC2231 parameters

I assumed that this was allowed due to the general MIME header syntax
rules, but this serialization apparently doesn't match the ABNF grammar,
and there are several bugreports in competing MUAs and e-mail libraries
[1] [2] about quotes not being conformant.

Motto of the day: "Even PHP is better than Trojitá". I'm so ashamed :(.
Thanks to msjasinski@gmail.com for reporting this.

[1] https://roundup.kolab.org/issue1562
[2] https://pear.php.net/bugs/bug.php?id=16706

BUG: 359656
Change-Id: I2d26f4fd862e78d2fffb2ecc61c75c5f5e241c01
src/Imap/Encoders.cpp
tests/Misc/test_rfccodecs.cpp