From 97d10a54426d2df2de1c765948989dfc88a316eb Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 26 Mar 2023 17:56:45 +0200 Subject: 1. corrected manifest 2. private node package 3. better error msg in Webmail/View 4. reduced send binaries on read --- script/qmauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/qmauth.py') diff --git a/script/qmauth.py b/script/qmauth.py index c306e1f..c05e75f 100755 --- a/script/qmauth.py +++ b/script/qmauth.py @@ -219,7 +219,7 @@ def _get_body(mail): ret = mail.get_content() if ret.isascii(): return ret.decode(encoding='ascii') - elif len(ret) <= 512*1024: + elif len(ret) <= 128*1024: return b64encode(ret).decode(encoding='ascii') else: raise QMAuthError("non attachment part too large (>512kB)", size=len(ret)) -- cgit v1.2.3