aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-27 08:38:33 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-27 08:38:33 -0400
commit48bccdb5f3a6b510e27ce4cbd83c1e0a0a796f7e (patch)
tree6f3bfdd8f7f539820eb8b2f6fc702cceca69ac72 /interfaces/email/interactive
parent675aa10516d1fe2a5f0502be5553e38169f444c0 (diff)
downloadbugseverywhere-48bccdb5f3a6b510e27ce4cbd83c1e0a0a796f7e.tar.gz
Added an additional format check to be-handle-mail's pseudoheader parsing.
Marked outstanding email interface bugs as fixed.
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: