Added an additional format check to be-handle-mail's pseudoheader parsing.
authorW. Trevor King <wking@drexel.edu>
Mon, 27 Jul 2009 12:38:33 +0000 (08:38 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 27 Jul 2009 12:38:33 +0000 (08:38 -0400)
Marked outstanding email interface bugs as fixed.

.be/bugs/3e331b72-51fd-4408-bc0d-b6c5ac3b9f3e/values
.be/bugs/e0858b12-0be3-49bb-ad7a-030e488bb2f1/values
interfaces/email/interactive/be-handle-mail

index 6dc34236090b8f45b09c8b578b21b04064c1e9f0..aa22fabae19a835ca3b0b18f3e66ce7811627848 100644 (file)
@@ -10,7 +10,7 @@ reporter: W. Trevor King <wking@drexel.edu>
 severity: minor
 
 
-status: open
+status: fixed
 
 
 summary: 'subscribe/unsubscribe (bug #..., "new bugs", "all", etc.)'
index 5be4cca2394af66ce4048caa97a379ef80080d0d..da4363984cc584a726f087a8bc76c938be018ee7 100644 (file)
@@ -10,7 +10,7 @@ reporter: W. Trevor King <wking@drexel.edu>
 severity: wishlist
 
 
-status: assigned
+status: fixed
 
 
 summary: Interactive email interface
index ed45bddd5ce3036aaa72417224f80c92af53a10b..5516c80e736e548802abbb07bd3dfba50c162636 100755 (executable)
@@ -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: