aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/email/interactive')
-rwxr-xr-xinterfaces/email/interactive/be-handle-mail2
1 files changed, 2 insertions, 0 deletions
diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail
index ed45bdd..5516c80 100755
--- a/interfaces/email/interactive/be-handle-mail
+++ b/interfaces/email/interactive/be-handle-mail
@@ -397,6 +397,8 @@ class Message (object):
line = line.strip()
if len(line) == 0:
break
+ if ":" not in line:
+ raise InvalidPseudoheader(self, line)
key,value = line.split(":", 1)
value = value.strip()
if key not in all: