about summary refs log tree commit diff
path: root/contrib/malternative
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-06-18 00:44:47 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-06-18 01:13:03 +0200
commit4e0de11300991ef0c1372fb831cef467be0e108a (patch)
tree138a05dcd3df840dcea5a3215adbb857cf2690d9 /contrib/malternative
parent9713264f70846d6eda3d9ed97d0212c5a077f888 (diff)
downloadmblaze-4e0de11300991ef0c1372fb831cef467be0e108a.tar.gz
mblaze-4e0de11300991ef0c1372fb831cef467be0e108a.tar.xz
mblaze-4e0de11300991ef0c1372fb831cef467be0e108a.zip
mmime: print_header: encode quoted-strings at once
This is maybe a foul compromise between correctness and complexity of
implementation, but it should do the right thing in most cases, and
does not require fully parsing and reconstructing all headers that can
contain phrases.

An 'encoded-word' MUST NOT appear within a 'quoted-string'.  We thus
completely encode the quoted-string (if necessary) as a single
encoded-word, and strip off the quotes.

This should fix encoding of addresses that have both non-ASCII and
special chars such as , and ;.
Diffstat (limited to 'contrib/malternative')
0 files changed, 0 insertions, 0 deletions