Francis Lachapelle
|
c6dbb88dc1
|
Simplify sanitization of accepted HTML attributes
This will avoid converting & to an HTML entity.
|
2017-08-22 10:02:28 -04:00 |
|
Francis Lachapelle
|
b3f541b87e
|
Sanitize whitelisted attributes of HTML tags
|
2017-06-05 15:14:48 -04:00 |
|
Ludovic Marcotte
|
7582ec8462
|
Updated comment
|
2017-04-20 14:35:44 -04:00 |
|
Ludovic Marcotte
|
0091ff749a
|
(fix) handle properly windows-1255 charset (fixes #4124)
|
2017-04-20 14:29:15 -04:00 |
|
Francis Lachapelle
|
4a21a02f98
|
Fix rendering of forwarded HTML message with img
Fixes #3981 (cont'd)
|
2017-01-13 12:23:38 -05:00 |
|
Francis Lachapelle
|
e5d0b0b0ca
|
Fix rendering of forwarded HTML message with img
Fixes #3981 (partially)
|
2017-01-11 16:08:56 -05:00 |
|
Ludovic Marcotte
|
2a2ebd553e
|
(test) handle sanitization before passing data to libxml
|
2016-12-06 14:05:27 -05:00 |
|
Francis Lachapelle
|
45290c6414
|
Improve CSS sanitizer for HTML messages
At-rules are now completely removed. Fixed a possible issue where the
first rule would not be prefixed by our CSS selector.
Fixes #3700
|
2016-05-27 13:42:44 -04:00 |
|
Ludovic Marcotte
|
74602de1db
|
(fix) make sure found tag is always defined
|
2016-05-06 08:14:37 -04: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 |
|
Ludovic Marcotte
|
bdfe95a7fb
|
(fix) fixed wrong comparison of meta vs. META tag in HTML mails
Conflicts:
NEWS
|
2015-11-06 09:28:46 -05:00 |
|
Euan Thoms
|
3c62cc744e
|
Stage 1 of clang compiler warning patches.
|
2015-10-31 14:10:03 +08:00 |
|
Ludovic Marcotte
|
12875539bb
|
(fix) fallback to utf-8/latin1 in rare decoding error cases - this is ugly
|
2015-07-23 11:21:25 -04:00 |
|
Francis Lachapelle
|
4cc158043e
|
Improve CSS server-side cleaner
Fixes #3040
|
2015-01-28 16:38:27 -05:00 |
|
Ludovic Marcotte
|
e2bee23021
|
Avoid unnecessary calls to NSLog
|
2015-01-22 16:25:16 -05:00 |
|
Ludovic Marcotte
|
08cd080d47
|
Fixed charset substitution in meta tags
|
2014-07-21 15:34:56 -04:00 |
|
Ludovic Marcotte
|
333b561a59
|
Applied patch from bug #2736
|
2014-06-16 15:30:26 -04:00 |
|
Ludovic Marcotte
|
19a95a1818
|
Applied fix from #2809
|
2014-06-10 08:58:44 -04:00 |
|
Ludovic Marcotte
|
619cb2c0ec
|
Fix for bug #2721
|
2014-04-23 09:22:20 -04:00 |
|
Francis Lachapelle
|
d603a8672e
|
Consider 'background' attribute as unsafe
When loading a message, background attributes will be disabled if the
user as chosen to not automatically load external images.
Fixes #2437
|
2014-01-09 09:15:49 -05:00 |
|
Francis Lachapelle
|
dc21c723f6
|
Move method fetchFileAttachmentKeys from category
Moved fetchFileAttachmentKeys from SOGoDraftObjectExtensions to
SOGoDraftObject. Renamed fetchAttachmentIds to fetchFileAttachmentIds
for consistency.
|
2013-12-20 15:20:16 -05:00 |
|
Ludovic Marcotte
|
e4aedbac08
|
<img src=data...> conversion to file attachments + CIDs.
|
2013-11-20 08:56:29 -05:00 |
|
Ludovic Marcotte
|
0f3e31ebf1
|
Added more tags to skip
|
2013-10-23 16:37:03 -04:00 |
|
Ludovic Marcotte
|
87261f3280
|
Fix for bug #2468.
|
2013-10-23 16:04:37 -04:00 |
|
Ludovic Marcotte
|
16f62e2393
|
Fix for bug #2434
|
2013-10-18 10:30:43 -04:00 |
|
Francis Lachapelle
|
854bce28fb
|
Fix condition in UIxMailPartHTMLViewer
|
2013-06-03 12:07:18 -04:00 |
|
Francis Lachapelle
|
49e964c529
|
Fix decoding charset parameter
To avoid a libxml bug/limitation, we were already stripping the charset
parameter, but we were not considering the single quote as valid
delimiter.
|
2013-06-03 11:47:48 -04:00 |
|
Ludovic Marcotte
|
ef7c69eda7
|
Now consider "utf8" crap as "utf-8", coming from bad mailers.
|
2012-12-03 14:56:11 -05:00 |
|
Francis Lachapelle
|
6bf0a28c5c
|
See ChangeLog
Monotone-Parent: c3154515eeade57787d4fb276b1cd5ba9bd7488d
Monotone-Revision: 0942f75d4ff9b5111c95d1cd9bee0a65f57f888b
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-08-24T19:58:04
|
2012-08-24 19:58:04 +00:00 |
|
Francis Lachapelle
|
5c618e5638
|
Improved HTML of mail notifications. See ChangeLog.
Monotone-Parent: 8ce46d6fa7b1d1a9d12069cee3ba796d99d668d2
Monotone-Revision: 5a6d160e6f9616edb725a40e08f24f0f0bf539b0
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-07-20T18:34:59
|
2012-07-20 18:34:59 +00:00 |
|
Francis Lachapelle
|
0fb6bbc836
|
Monotone-Parent: 29fffc5b150efb565af943e7fd8387e446ceb042
Monotone-Revision: 92638e02e3b38087e427f0604b8dd774e09d2001
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-07T23:48:57
|
2012-02-07 23:48:57 +00:00 |
|
Francis Lachapelle
|
34cc7a27dc
|
Monotone-Parent: 8b85752325ab90167923684643ea6fe0374ee7a1
Monotone-Revision: 29fffc5b150efb565af943e7fd8387e446ceb042
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-07T23:47:25
|
2012-02-07 23:47:25 +00:00 |
|
Wolfgang Sourdeau
|
b7077e74de
|
Monotone-Parent: 6abb8375831082425cff443adae2a3a663f43a6d
Monotone-Revision: 8b85752325ab90167923684643ea6fe0374ee7a1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-10T10:42:33
|
2012-02-10 10:42:33 +00:00 |
|
Francis Lachapelle
|
b159c2c879
|
See ChangeLog.
Monotone-Parent: 361e773d3d8846808f8d0ac504cac38d25cbff5c
Monotone-Revision: e9f628c74b83c2316c49865e04b473c6e202c332
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-07T23:08:46
|
2012-02-07 23:08:46 +00:00 |
|
Ludovic Marcotte
|
1376d8654a
|
Fixed handling of gb2312 charset
Monotone-Parent: 6b4e2f16b2a1ac3bbbb8f854763b7deb70bd8a46
Monotone-Revision: addfe836292fcae874e765a05ef776bfe841be1d
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-07-29T13:26:14
Monotone-Branch: ca.inverse.sogo
|
2011-07-29 13:26:14 +00:00 |
|
Ludovic Marcotte
|
180c838a8a
|
small fix over previous commit
Monotone-Parent: 5fb0fae471bb22f9c4ce7361ef22d9d213f30c0b
Monotone-Revision: 4120c09ec69b99d41cd339f49faa9ae17aa03b61
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-05-17T12:08:22
Monotone-Branch: ca.inverse.sogo
|
2011-05-17 12:08:22 +00:00 |
|
Ludovic Marcotte
|
1782f9b18d
|
See ChangeLog
Monotone-Parent: 7543dc34aa33702ddf79bcb43feab4d72175bfc2
Monotone-Revision: 5fb0fae471bb22f9c4ce7361ef22d9d213f30c0b
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-05-16T15:08:23
Monotone-Branch: ca.inverse.sogo
|
2011-05-16 15:08:23 +00:00 |
|
Ludovic Marcotte
|
2efe0745c7
|
See ChangeLog
Monotone-Parent: e6342c0609e8ea9e5aa666ae499c259d902adbec
Monotone-Revision: a9b4a2aae19f072168fdfc23b91ebc443e0d55c4
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-11-02T19:31:50
Monotone-Branch: ca.inverse.sogo
|
2010-11-02 19:31:50 +00:00 |
|
Wolfgang Sourdeau
|
b9e50361c3
|
Monotone-Parent: e3f0ba86e1168ac7457fd47477e96ee5177b581a
Monotone-Revision: 5ced3caff6941c97131463243328da8efd133cf1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-04-20T17:45:17
Monotone-Branch: ca.inverse.sogo
|
2010-04-20 17:45:17 +00:00 |
|
Ludovic Marcotte
|
133425e598
|
See ChangeLog
Monotone-Parent: 107bfcafb94e725ae14c9e2bceacbf8399ae6958
Monotone-Revision: 80091501b42618d93c33de4da16ce798fd5915f3
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-12-15T00:05:06
Monotone-Branch: ca.inverse.sogo
|
2009-12-15 00:05:06 +00:00 |
|
Ludovic Marcotte
|
90f4187c98
|
See ChangeLog
Monotone-Parent: 5a7e429f43453ecb7e1ca7ac57a0e13f01a7d0be
Monotone-Revision: bd604d08baed0cf7905c0c78a513a7e7a9621223
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-11-26T11:51:52
Monotone-Branch: ca.inverse.sogo
|
2009-11-26 11:51:52 +00:00 |
|
Wolfgang Sourdeau
|
114e8bddc3
|
Monotone-Parent: 6267e23d4a4d587847618923c35a202030ce9ed0
Monotone-Revision: 5244339e45ef9095573b10733228f85b81a17377
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-13T14:10:17
Monotone-Branch: ca.inverse.sogo
|
2009-10-13 14:10:17 +00:00 |
|
Ludovic Marcotte
|
f0ec2d8956
|
fixed typo
Monotone-Parent: 2dbb637c5a189bc664f21c6d8985c3a246a77d7d
Monotone-Revision: 2af7febd00f4cf3a006ceaf8864e1965236a5511
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-10-13T12:08:40
Monotone-Branch: ca.inverse.sogo
|
2009-10-13 12:08:40 +00:00 |
|
Ludovic Marcotte
|
fc2a7c8c55
|
See ChangeLog
Monotone-Parent: 9cd6cf883ffe8961708e6bdb5a8b3a3f439eebbf
Monotone-Revision: 2dbb637c5a189bc664f21c6d8985c3a246a77d7d
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-10-12T21:19:42
Monotone-Branch: ca.inverse.sogo
|
2009-10-12 21:19:42 +00:00 |
|
Wolfgang Sourdeau
|
95b4763d92
|
Monotone-Parent: aa4f4dab1e9d7e5e3e3e654a9e43c3a7409de48b
Monotone-Revision: 11b16e47828dac92fd5fc6a0141e90ca854b7b89
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-10T18:37:10
Monotone-Branch: ca.inverse.sogo
|
2009-10-10 18:37:10 +00:00 |
|
Wolfgang Sourdeau
|
715e21ba2e
|
Monotone-Parent: 404dd25b59fda2d2475a2a7dd019059a67f65c1c
Monotone-Revision: 8cc62c915713d2c4395b799a5331f9ed57337e57
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-09-14T23:05:45
Monotone-Branch: ca.inverse.sogo
|
2009-09-14 23:05:45 +00:00 |
|
C Robert
|
784f5bffcc
|
Monotone-Parent: e8ee048170e91221cb7aac2c0e4e394db83bf2e2
Monotone-Revision: 77d6f1cf85f2204c8e5f316ee513551508049ec9
Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-06-30T18:01:14
Monotone-Branch: ca.inverse.sogo
|
2009-06-30 18:01:14 +00:00 |
|
Wolfgang Sourdeau
|
0136b1b83d
|
Monotone-Parent: 16149b4acf28c43530866e0b00c8f641e07afc24
Monotone-Revision: 52fad13e2d8c7765e5b822c94adbb945e0636f00
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-10T20:00:45
Monotone-Branch: ca.inverse.sogo
|
2009-06-10 20:00:45 +00:00 |
|
Ludovic Marcotte
|
56d77dec71
|
See ChangeLog
Monotone-Parent: 09c2ef621ffaea633516a58bf226554a1147b8de
Monotone-Revision: 2843ffb0343436932d7a2ce0d3aa223f882cbee5
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-05-21T15:12:10
Monotone-Branch: ca.inverse.sogo
|
2009-05-21 15:12:10 +00:00 |
|
Ludovic Marcotte
|
8f2318fe52
|
See ChangeLog
Monotone-Parent: 8d42e44b72c2c9e6431e77f6b5c590736449f7d7
Monotone-Revision: bafccbe12139895411068d388269aca400af46ec
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-04-01T13:49:24
Monotone-Branch: ca.inverse.sogo
|
2009-04-01 13:49:24 +00:00 |
|