diff options
author | Gislene Pereira <gislene01@gmail.com> | 2015-12-29 17:13:59 -0300 |
---|---|---|
committer | Gislene Pereira <gislene01@gmail.com> | 2015-12-29 17:13:59 -0300 |
commit | 22ab584f81b598e1aa61ae86b27b08459b589b16 (patch) | |
tree | 60891d09a4f343697ac07dd23ea3d54011a970ff /service/pixelated/adapter/mailstore | |
parent | 4f0b8e6b062d54c99e398d43e34ac857ad1c9e3c (diff) |
Issue #562 - Capture inline attachments from Content Disposition.
Diffstat (limited to 'service/pixelated/adapter/mailstore')
-rw-r--r-- | service/pixelated/adapter/mailstore/leap_mailstore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/mailstore/leap_mailstore.py b/service/pixelated/adapter/mailstore/leap_mailstore.py index 1fce388d..33bb6c74 100644 --- a/service/pixelated/adapter/mailstore/leap_mailstore.py +++ b/service/pixelated/adapter/mailstore/leap_mailstore.py @@ -373,7 +373,7 @@ class LeapMailStore(MailStore): phash = part_map['phash'] if 'Content-Disposition' in headers: disposition = headers['Content-Disposition'] - if 'attachment' in disposition: + if 'attachment' in disposition or 'inline' in disposition: filename = _extract_filename(disposition) encoding = headers.get('Content-Transfer-Encoding', None) result.append(AttachmentInfo(phash, filename, encoding)) |