diff options
author | Quanah Gibson-Mount <quanah@symas.com> | 2018-01-04 07:51:06 -0800 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-01-04 10:51:06 -0500 |
commit | 7fd3bfed65b20cb42d48f8ff3decdf6970057c1c (patch) | |
tree | 5ce77eebae9070fed37ea5be7dd11d4fa219767d /page.cgi | |
parent | 842ac4647276ba5354289082adbdca75e0b19107 (diff) | |
download | bugs-7fd3bfed65b20cb42d48f8ff3decdf6970057c1c.tar bugs-7fd3bfed65b20cb42d48f8ff3decdf6970057c1c.tar.gz bugs-7fd3bfed65b20cb42d48f8ff3decdf6970057c1c.tar.bz2 bugs-7fd3bfed65b20cb42d48f8ff3decdf6970057c1c.tar.xz bugs-7fd3bfed65b20cb42d48f8ff3decdf6970057c1c.zip |
Significant update to jb2bz.py. (#58)
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1427626
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1427638
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1427664
Convert jb2bz to use "email" module rather than rfc822, multifile,
mimetools, and StringIO for easier manipulation of the mailbox objects.
This fixed (among other things) 1427626 as the Subject of the email is
now obtained correctly.
Fix the date formatting throughout to always use UTC, which is what
Bugzilla expects for the dates. This fixed 1427638.
Fix attachment processing, which was using multifile rather than walking
the parts of the email object. This fixed part of 1427664
Fix the fact that the process_reply_file function never checked for
attachments in any followups. This fixed part of 1427664
Fix attachment processor to ignore various signatures and message/rfc822
multipart messages. For the latter, it sets "filename=" values to files
that don't actually exist, which caused attachment processing to bomb.
Diffstat (limited to 'page.cgi')
0 files changed, 0 insertions, 0 deletions