bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
13961419ca9710eb80c254e00510c58c466f3c08 |
|
18-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Handle broken Content-Type headers consistently.
1) Only the first Content-Type header is used. (Simpler than using the last.)
2) Invalid Content-Types are parsed as far as we can. This is mainly to make
sure they aren't treated as missing Content-Types, which could cause them to
become text/plain. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
2d7ec47e669516fe224e61a4f778b8db48fd55ef |
|
16-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Make sure iconv state is reset between MIME parts. |
1a6a2a1317965035bec89ffbbc0e408fc8652621 |
|
03-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Switched message-decoder to use qp-decoder.
This probably doesn't fix any actual bugs, but allows getting rid of the
quoted_printable_decode*() |
01eef06269e04d0b1b6d67c5055248fefb4f613e |
|
15-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Added message_decoder_current_content_type() |
d60a5611b1db47f9ba14e82811170251a7dab6fa |
|
15-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: message-decoder now always sets output->size=0 when headers are returned. |
c389f8bf1340ca004f3a8f94b3f020bf47fd2610 |
|
15-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Fixed crash in message-decoder with unknown charsets.
Caused by earlier changes. |
2c70dc3ca3f0e9e67b76065c4824aba6b2e4251c |
|
15-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Replaced MAX_TRANSLATION_BUF_SIZE with the new CHARSET_MAX_PENDING_BUF_SIZE |
47e90cc0da86de98a8923802a29d844ab5159834 |
|
10-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-mail: message-decoder no longer skips lib-charset for UTF8 -> UTF8 translations.
With the previous lib-charset fix this makes message-decoder handle partial
UTF-8 text in input blocks correctly. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
9514798ef5f1c015bcdeb2b80b2874e59f083ef3 |
|
11-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Message decoder now runs normalizer also for unknown charsets. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
3d92258c9897ffc9382c333964a1ab69cd1e5984 |
|
27-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
message-decode: Minor fix to previous change.
The == condition should probably never happen, but handle it anyway. |
2e0fa95785f9b41c1c6aaf541245579a49f94841 |
|
27-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
message-decoder: Fixed assert-crash when trying to decode partial character twice. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
e4f1a5fdad77884e1de516521504c15dc936fa9d |
|
04-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Detect errors in quoted-printable input. |
d9076f5939edf5d20a261494b1a861dcbb0d32e2 |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced "decomposed titlecase" conversions with more generic normalizer function.
Plugins can now change mail_user.default_normalizer. Specific searches can
also use different normalizers by changing mail_search_context.normalizer. |
4e2d7dd2b201ae2083b6637d7ec0d37f49faca45 |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Added message_decoder_parse_cte() |
4e8d6d03c2ff85448df79b181a2ea850fb5d4199 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Try to avoid (void) casts by adding more ATTR_NOWARN_UNUSED_RESULT. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
7e50cca6b1dab5a7e2a90a8949678c62f4a0958a |
|
28-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-mail: Added message_decoder_set_return_binary() |
b516a7812b9acc04522869fead3aa6d2787dcdc6 |
|
11-May-2011 |
Timo Sirainen <tss@iki.fi> |
message [header] decoder: Output only valid UTF-8 data. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
e376e08040b5f21ff79a15ae728d2532a34207f6 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Small code changes to make static analyzer happier.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
db24d60c306c9d477392ff5b61cb3fc95fef3bb7 |
|
27-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
message-decoder: Fixed assert-crashes caused by the previous quoted-printable change.
--HG--
branch : HEAD |
87506860556bf42f656b13f4b14cf81b75261e95 |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
Message-decoder: Fixes to handling binary body parts.
--HG--
branch : HEAD |
5cbefc6537aefbf1491416c433de00fc3e649a13 |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
message-decoder now supports optionally returning non-text bodyparts as-is.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
dabb4cec4cf9bdb34013de682b08f1284cfb670f |
|
24-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Merge RFC 2231 header continuations in BODY/BODYSTRUCTURE replies. Also use
them internally while parsing messages.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
b38dd9a0b8eb6b599c346acbeea9dbe129bb086e |
|
29-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If Content-Transfer-Encoding type is unknown, skip the body instead of
handling it as binary.
--HG--
branch : HEAD |
7aa59f55d8a4e02c7039fbd22660c4055bfc8393 |
|
08-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
uni_utf8_get_valid_data() API changed.
--HG--
branch : HEAD |
511ba4416aafb9f9ba1a4193703b95a033267068 |
|
08-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Moved uni_utf8_get_valid_data() to lib/
--HG--
branch : HEAD |
9ae664e94e6eeb5c1f900bb90642052633031832 |
|
06-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Crashfix
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
2e03303e721a293d796c0287829396f5caea76ea |
|
03-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Message decoding wasn't reset properly between messages when searching.
--HG--
branch : HEAD |
1dba794aa92dc13e6afd7a50a8c33cb19d6aa235 |
|
03-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Remove illegal UTF-8 sequences from output.
--HG--
branch : HEAD |
a4ee24a4d5eefa80bbefc5acba16587ae36c3b5b |
|
03-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8_begin() was called with bad flags parameter (although it
just happened to be the same value, so it worked).
--HG--
branch : HEAD |
62394a19cba1a8df01cad66eaa9331a70464441e |
|
18-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Charset translation fixes
--HG--
branch : HEAD |
0ae99441ae9ef80f435f3eb85fad16e136036b0b |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Body decoding was broken.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
87b426af6a2365c6840b14281a98c23e903bf28e |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Added i_ prefix to strcmp_p(), strcasecmp_p() and memcasecmp().
--HG--
branch : HEAD |
0f66f12eb4cdbf47670975044c88d8f388bf92df |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed buffer_free() and buffer_free_without_data() APIs to take ** pointer
which is set to NULL instead of hiding it with a macro.
--HG--
branch : HEAD |
345253fb28498b2e0a60f4a2a8644c65feee7e75 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed ucase parameters to dtcase which is more correct.
--HG--
branch : HEAD |
cdeab2b97792dfa0691e39cd46462b28cfcb9a66 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8_begin() API change.
--HG--
branch : HEAD |
65988f5a8abed57e9894fec77105941e046d3490 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Use uni_utf8_to_decomposed_titlecase() to have proper case-insensitive UTF-8
comparing.
--HG--
branch : HEAD |
055f4599bba1874fa1148a8fa488517fa077619c |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8() isn't used anymore, so renamed charset_to_utf8_full() to it.
--HG--
branch : HEAD |
72388282bf6718c39af34cfcf51438910f9d62da |
|
19-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added message_header_decode_utf8(). Use it in message decoder instead of
implementing the same thing.
--HG--
branch : HEAD |
687d1dee0e92229232aa8be416897b640df67d07 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed message-content-parser. Instead added rfc822_parse_content_type()
and rfc822_parse_content_param() to help parse such headers.
--HG--
branch : HEAD |
c13d85945fa9b9db0e2c22ca4a745f177bb92f80 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
_charset_utf8_ucase() -> charset_utf8_ucase_write(),
_charset_utf8_ucase_strdup() -> charset_utf8_ucase_strdup()
--HG--
branch : HEAD |
e1b83f64e62cc3e8967c75fcc3f9b5dbb243d3b3 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Changed message_decoder_init_ucase() to message_decoder_init(bool ucase)
--HG--
branch : HEAD |
f8cf1d320b09a21fec4336b24c0175b476833650 |
|
20-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
charset_to_utf8_begin() now takes bool ucase parameter. Changed
charset_to_ucase_utf8*() to charset_to_utf8*().
--HG--
branch : HEAD |
e25b07a7b199039ac47eb4213c58f06d6f0dd253 |
|
04-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Removed accidentally committed debug stuff
--HG--
branch : HEAD |
043c8a96a035379bcba04f487d58457beefdfcaa |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Header parser has now flags parameter to tell it how to handle linefeeds.
Changed message parser's boolean parameter to enum as well.
--HG--
branch : HEAD |
919733fcead68b0e9617cfff86ae5c74d097c6cd |
|
04-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Some data still wasn't uppercased
--HG--
branch : HEAD |
0ce8f754204c7eeb33805993807393f74faf2cd3 |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed message_decoder_init() to message_decoder_init_ucase() and changed
it to uppercase all the output.
--HG--
branch : HEAD |
e619ecbbc00cba9e6e1e8322caa59776507fac02 |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Fix for base64 handling
--HG--
branch : HEAD |
b29403032a7ee56c309e94d92fbf1728bacb88f4 |
|
26-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
f335accff54f408a8bbb328f8098ad458f2ff58e |
|
25-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Don't try to access output variable's contents. They are undefined at least
in the first call.
--HG--
branch : HEAD |
59151b71059df1190acd75d8717ed04a7920c862 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added context parameter type safety checks for most callback APIs.
--HG--
branch : HEAD |
c69a255a68103a50fa3f04a527281a169075403f |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes
--HG--
branch : HEAD |
64510d2cc23a79d2142030bf5bade44baa490db3 |
|
09-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes
--HG--
branch : HEAD |
373745850a588cb7ebdadf8bf2f78b1b6529b98f |
|
25-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
Don't crash with unknown charsets
--HG--
branch : HEAD |
050975ee630c761ab237fce7b8f84fe189bb02d2 |
|
17-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Added message-decoder to decode message's contents into readable UTF-8.
--HG--
branch : HEAD |