Skip to content

Commit

Permalink
Fix bug where "with attachment" filter could fail on some fts engines (
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jul 21, 2024
1 parent 5544765 commit 8eb583b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Fix decoding mail parts with multiple base64-encoded text blocks (#9290)
- Fix bug where some messages could get malformed in an import from a MBOX file (#9510)
- Fix invalid line break characters in multi-line text in Sieve scripts (#9543)
- Fix bug where "with attachment" filter could fail on some fts engines (#9514)

## Release 1.6.7

Expand Down
2 changes: 1 addition & 1 deletion program/actions/mail/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ public static function search_filter($attrib)

// Content-Type values of messages with attachments
// the same as in app.js:add_message_row()
$ctypes = ['application/', 'multipart/m', 'multipart/signed', 'multipart/report'];
$ctypes = ['application/', 'multipart/mixed', 'multipart/signed', 'multipart/report'];

// Build search string of "with attachment" filter
$attachment = trim(str_repeat(' OR', count($ctypes)-1));
Expand Down

0 comments on commit 8eb583b

Please sign in to comment.