Hadrien Blanc
20779cf353
fix(mail): sanitize the domain part of generated message-ids
...
generateMessageID: appended the substring following the last '@'
without sanitizing it, so a sender value such as 'Doe, John <a@b>'
produced 'Message-Id: <uuid@b>>' with a duplicated closing bracket on
calendar invitations. A nil domain also left the message-id
unterminated.
The domain part is now cut at the first address delimiter or
whitespace - a domain is a single token, and anything else would
allow header injection through generated message-ids.
Fixes #6201
2026-10-07 11:13:33 +02:00
Hivert Quentin
7bee193413
fix(mail): preoperly generates the message-id header value
2025-07-28 17:40:14 +02:00
Francis Lachapelle
b7f0ee7228
fix(mail): use double-quotes for attributes when re-encoding HTML
2020-07-13 16:40:11 -04:00
Francis Lachapelle
f88b46c78f
(fix) Keep remote images when composing a HTML msg
2018-01-24 16:00:19 -05:00
Ludovic Marcotte
c875302a86
(fix) proper handling of file attachments in S/MIME encrypted mails
2018-01-05 13:55:05 -05:00
Ludovic Marcotte
c29c6dc621
(fix) properly encode MIME parts with embedded images in HTML parts ( fixes #4150 )
2017-08-23 15:45:14 -04:00
Francis Lachapelle
011fae8a65
Download attachments of a message as a zip archive
2016-12-07 14:38:33 -05:00
Francis Lachapelle
cb960fae02
Restore attributes of base64-encoded img tags
...
Fixes #3814
2016-11-23 14:57:24 -05:00
Patrice Levesque
7c25b53fdf
Remove pointless #imports from .m and .h files
...
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Euan Thoms
3c62cc744e
Stage 1 of clang compiler warning patches.
2015-10-31 14:10:03 +08:00
Ludovic Marcotte
333b561a59
Applied patch from bug #2736
2014-06-16 15:30:26 -04:00
Francis Lachapelle
66bfbeaac1
MailEditor: fix text conversion with HTML entities
2014-04-23 10:55:04 -04:00
Francis Lachapelle
534e4e3d4d
Fix text nodes of message with HTML entitites
2014-04-07 11:21:52 -04:00
Francis Lachapelle
eee5beb698
Add message-id header to appointment notification
...
Fixes #2535
2014-02-07 10:52:06 -05:00
Francis Lachapelle
359b6a99aa
Encode HTML entities for inline forwards in text
...
Fixes #2411
2014-02-05 11:17:22 -05:00
Francis Lachapelle
2b53705d44
Untabify
2014-01-06 14:32:58 -05:00
Francis Lachapelle
b716331d8e
Append tags when using a sanitizerContentHandler
2014-01-06 14:23:11 -05:00
Francis Lachapelle
bd7ad5be16
Fix initialization of arrays in NSString+Mail.m
2013-12-23 15:51:36 -05:00
Ludovic Marcotte
e4aedbac08
<img src=data...> conversion to file attachments + CIDs.
2013-11-20 08:56:29 -05:00
Ludovic Marcotte
189f2218a8
Fix for bug #2459
2013-10-21 15:26:43 -04:00
Wolfgang Sourdeau
01aa8e299c
Monotone-Parent: 26b5f40103235f325bd04edf2ca9fe43ad924990
...
Monotone-Revision: 859fadbbfd184b571c9fd10283255e4f5471f95a
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-12-14T15:07:06
Monotone-Branch: ca.inverse.sogo
2009-12-14 15:07:06 +00:00
Francis Lachapelle
55c9719b11
See ChangeLog
...
Monotone-Parent: bd604d08baed0cf7905c0c78a513a7e7a9621223
Monotone-Revision: 00ffb0295fd6e6526c1e1132bcd23e8726c80997
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-11-26T14:53:30
Monotone-Branch: ca.inverse.sogo
2009-11-26 14:53:30 +00:00
Francis Lachapelle
3c24d99fb3
See ChangeLog
...
Monotone-Parent: c55d7e01ad80c68ff71c3684827782f73ac196ef
Monotone-Revision: f094a21d8e470bf3e243d0c7413263f48be70226
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-11-25T02:34:24
Monotone-Branch: ca.inverse.sogo
2009-11-25 02:34:24 +00:00
C Robert
f9337f183f
HTML Composing, see changelog
...
Monotone-Parent: b895c283a3da52c67fd91339f704dc8cd49b743f
Monotone-Revision: 5f0e6bd5b6298ffdd908398135216841ba3b6909
Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-06-23T17:53:18
Monotone-Branch: ca.inverse.sogo
2009-06-23 17:53:18 +00:00
Ludovic Marcotte
98d6032638
see changelog
...
Monotone-Parent: a9323afc29bd494143d2c78639e7a02f3d3804cb
Monotone-Revision: 1af347fe96abc17587172e207fcbf80e98d7f6f8
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-08-22T13:52:24
Monotone-Branch: ca.inverse.sogo
2008-08-22 13:52:24 +00:00
Wolfgang Sourdeau
82b3004ced
Monotone-Parent: 5a485db5775478811d6c38cfd017ebee3f75514c
...
Monotone-Revision: 6abac7888de0863a3426a8b20916425be34e85f9
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-18T19:01:02
Monotone-Branch: ca.inverse.sogo
2008-08-18 19:01:02 +00:00
Wolfgang Sourdeau
cc21c0c948
Monotone-Parent: 025330d36e1af8f073a0b0a02b64a65e36da2ffb
...
Monotone-Revision: 62c54dca797fd3a058e6792e05ab111266735658
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-05T16:37:17
Monotone-Branch: ca.inverse.sogo
2007-11-05 16:37:17 +00:00
Wolfgang Sourdeau
0986ba4ba1
Monotone-Parent: 3291dd3b0291e6b09f19d1879b5f7a56fd0f5045
...
Monotone-Revision: 529806b76290054de1e3af14d027b6f92e169941
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-30T19:46:48
Monotone-Branch: ca.inverse.sogo
2007-10-30 19:46:48 +00:00