mirror of https://github.com/leahneukirchen/mblaze
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 ;.pull/211/head
parent
9713264f70
commit
4e0de11300
Loading…
Reference in New Issue