Use correct content transfer encoding (7bit).
This commit is contained in:
parent
3c7b44d17f
commit
b21573e5d8
|
@ -66,7 +66,7 @@ def encrypt_payload( payload, gpg_to_cmdline ):
|
||||||
payload.set_param( 'name', pgpFilename )
|
payload.set_param( 'name', pgpFilename )
|
||||||
|
|
||||||
if payload.get('Content-Transfer-Encoding') is not None:
|
if payload.get('Content-Transfer-Encoding') is not None:
|
||||||
payload.replace_header( 'Content-Transfer-Encoding', "quoted-printable" )
|
payload.replace_header( 'Content-Transfer-Encoding', "7bit" )
|
||||||
|
|
||||||
return payload
|
return payload
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue