diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-27 08:38:33 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-27 08:38:33 -0400 |
commit | 48bccdb5f3a6b510e27ce4cbd83c1e0a0a796f7e (patch) | |
tree | 6f3bfdd8f7f539820eb8b2f6fc702cceca69ac72 /interfaces/email/interactive/be-handle-mail | |
parent | 675aa10516d1fe2a5f0502be5553e38169f444c0 (diff) | |
download | bugseverywhere-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/be-handle-mail')
-rwxr-xr-x | interfaces/email/interactive/be-handle-mail | 2 |
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: |