summaryrefslogtreecommitdiff
path: root/script/qmauth.py
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-03-26 17:56:45 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-03-26 17:56:45 +0200
commit97d10a54426d2df2de1c765948989dfc88a316eb (patch)
treec494fb654a7617f79058f7487b93b7a7908ee43c /script/qmauth.py
parent0b588dff194f5dbf55ee49e88e0ca396b1bed858 (diff)
1. corrected manifestmain
2. private node package 3. better error msg in Webmail/View 4. reduced send binaries on read
Diffstat (limited to 'script/qmauth.py')
-rwxr-xr-xscript/qmauth.py2
1 files changed, 1 insertions, 1 deletions
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))