From 48bccdb5f3a6b510e27ce4cbd83c1e0a0a796f7e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 27 Jul 2009 08:38:33 -0400 Subject: Added an additional format check to be-handle-mail's pseudoheader parsing. Marked outstanding email interface bugs as fixed. --- interfaces/email/interactive/be-handle-mail | 2 ++ 1 file changed, 2 insertions(+) (limited to 'interfaces/email') 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: -- cgit