Commit Graph

93 Commits

Author SHA1 Message Date
Aleksander Machniak
8df6d7c3e4 Fix regression in compressMessageSet() (#6235) 2018-04-06 08:21:22 +02:00
Aleksander Machniak
8b0540d402 Fix possible IMAP command injection and type juggling vulnerabilities (#6229) 2018-04-03 19:07:02 +02:00
Aleksander Machniak
c0959bd619 Sanity checks for header data length in FETCH (#6087)
Where we know what expected data length is we truncate the input.
2017-12-13 09:06:40 +01:00
Aleksander Machniak
36638ec0c2 Fix untagged COPYUID responses handling - again (#5982) 2017-11-20 18:05:07 +01:00
Aleksander Machniak
f8fc01b800 Fix so untagged COPYUID responses are also supported according to RFC6851 (#5982) 2017-10-06 09:23:17 +02:00
Aleksander Machniak
76adb49454 Support for IMAP folders that cannot contain both folders and messages (#5057) 2017-07-14 13:39:49 +02:00
Aleksander Machniak
e04f72d018 Fix PHP 7.2 warnings on count() use (#5845) 2017-07-09 13:20:57 +02:00
Aleksander Machniak
7c001260fa Simplified code to parse METADATA responses 2017-06-05 12:32:50 +02:00
Aleksander Machniak
f7809af6e4 Support AUTHENTICATE LOGIN for IMAP connections (#5563)
Add imap_auth_type=IMAP to force use of LOGIN instead of AUTHENTICATE LOGIN.
In imap_auth_type=CHECK mode prefer LOGIN over AUTHENTICATE LOGIN (for performance reasons).
2017-05-19 10:50:51 +02:00
Aleksander Machniak
e800fb5a19 Bring back unintentionally removed .SILENT suffix in STORE FLAGS command 2017-04-27 10:20:12 +02:00
Aleksander Machniak
d1cf69562f CS fixes and return values fixes 2017-04-27 09:58:11 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
9028e77290 Enigma: Set micalg parameter to real hash algorithm used for signing 2017-03-06 10:57:20 +01:00
Aleksander Machniak
81f67a4de2 Don't use each() deprecated in PHP 7.2 2017-02-06 15:46:18 +01:00
Aleksander Machniak
940a27400e Use GSSAPI only if configured (#5530) 2016-11-25 08:23:21 +01:00
Aleksander Machniak
8a76bf3783 Make sure $prefs property is an array (#5523) 2016-11-17 11:17:09 +01:00
Aleksander Machniak
e17e8851f1 CS improvements, _xor() method replaced with an anonymous function 2016-11-07 18:38:20 +01:00
Aleksander Machniak
cf9f0d8829 Fix bug where IMAP password could be exposed via error message (#5472) 2016-10-15 08:18:34 +02:00
Aleksander Machniak
2298ecf7f6 Fix E_DEPRECATED warning when using Auth_SASL::factory() (#5401) 2016-08-16 13:39:13 +02:00
Aleksander Machniak
c08ca018d8 Get rid of rcube_imap_generic::strToTime() in favor of rcube_utils::strtotime() 2016-06-22 10:57:25 +02:00
Aleksander Machniak
4921c21cff Optimize SELECT response handling 2016-05-05 14:10:55 +02:00
Aleksander Machniak
6f2c007d1b CS fixes: Replace use of "bool ? true : false" with just "bool" 2016-04-02 13:02:55 +02:00
Aleksander Machniak
7462095f60 Small code improvements 2016-03-28 14:29:35 +02:00
Aleksander Machniak
ca34ba139e CS fixes 2016-03-03 12:51:34 +01:00
Francis Russell
8f71b164fd Make TLS method for IMAP parameterisable. 2016-01-08 14:22:32 +00:00
Francis Russell
191a6a6805 Enable use of TLSv1.1 and TLSv1.2 for IMAP. 2016-01-08 14:22:32 +00:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
eca19d65b5 Optimized some regular expressions 2015-10-22 09:45:47 +02:00
Aleksander Machniak
354cff8b26 Some more CS fixes 2015-10-03 13:32:01 +02:00
Aleksander Machniak
7fb0aedc9b Fix fetchMIMEHeaders() so it really works with multiple parts, various CS fixes 2015-10-03 13:06:24 +02:00
Aleksander Machniak
85f4209074 Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache 2015-10-02 10:56:35 +02:00
Aleksander Machniak
5eb9c70b60 Added method to determine IMAP server vendor, for future use 2015-09-02 13:49:13 +02:00
Aleksander Machniak
86b241df63 CS fixes 2015-08-30 18:17:23 +02:00
Aleksander Machniak
1b8ca08e5b Added GSSAPI/Kerberos authentication plugin - krb_authentication 2015-08-06 13:23:50 +02:00
Aleksander Machniak
93e64008a6 Small code improvements 2015-08-05 09:30:51 +02:00
Aleksander Machniak
843643b1bd Fix multi-folder search result sorting by arrival date (#1490450) 2015-07-17 18:25:02 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
1422b0823e Fix bug where messages count was not updated after message move/delete with skip_deleted=false (#1490372) 2015-04-30 19:39:11 +02:00
Aleksander Machniak
5a4f3f8266 Remove Kolab's hack for Cyrus Murder bug in SETANNOTATION - it's not needed anymore 2015-04-03 17:46:39 +02:00
Aleksander Machniak
7b924535fd CS fixes 2015-01-03 13:59:07 +01:00
Aleksander Machniak
9e4246d957 Code improvements and fixes (mostly unused variables and methods) 2014-11-16 14:04:53 +01:00
Bartlomiej Nogas
a235f79df9 Fix of really fix UNKNOWN-CTE handling 2014-10-24 12:29:36 +02:00
Aleksander Machniak
bf9c9b3e38 Really fix UNKNOWN-CTE handling 2014-10-23 18:55:05 +02:00
Aleksander Machniak
81dab388d0 Fix handling of UNKNOWN-CTE response, try do decode content client-side (#1490046) 2014-10-23 13:42:21 +02:00
Aleksander Machniak
9d9623462a Fix handling of base64-encoded attachments with extra spaces (#1490111) 2014-10-23 11:09:35 +02:00
Aleksander Machniak
07fa81dc4e Fix setting flags on servers with no PERMANENTFLAGS response (#1490087) 2014-10-04 09:56:46 +02:00
Thomas Bruederli
6646809a31 Fix another regression in metadata response parsing introduced in commit 939380da 2014-09-23 10:10:08 +02:00
Bartlomiej Nogas
0d273c9a97 Fix get_metadata() function response, NIL response was introducing an shift 2014-09-22 23:17:12 +02:00
Aleksander Machniak
35b39c8d7d Fix PERMANENTFLAGS checking in modFlag() 2014-08-26 19:22:53 +02:00
Aleksander Machniak
e156741941 Fix bug where $Forwarded flag was being set even if server didn't support it (#1490000) 2014-07-28 19:03:16 +02:00