Commit Graph

8010 Commits

Author SHA1 Message Date
Aleksander Machniak
dc9ace7526 Fix regression causing inline SVG images to be missing in mail preview (#9644) 2024-09-29 13:59:49 +02:00
Pablo Zmdl
8cc559a6f0 Fix getting IMAP vendor name (#9654)
In some cases, the array's keys where upper case, and the previous code
produced a warning and resulted in an empty string, even though the
name was present.
2024-09-29 11:51:53 +02:00
respiranto
ffb2cf7929 vcard: Fix whitespace handling in line cont's (#9637)
* vcard: Fix whitespace handling in line cont's

Previously, multiple whitespace characters at the start of a
continuation line would all be dropped, instead of only the first one.

Also,
 - restrict line continuation characters to SPACE and TAB.

Note that, like before, this identifies the CR (`\r`) character with the
empty string, and thereby notably does not require a CRLF (`\r\n`)
sequence (which is mandated by RFCs 2426, 2425) for line termination
(i.e., `\n` suffices).

Fixes: Bug 1 of issue #9593.

* vcard: Add test for #9593/1

* Fix coding style
2024-09-18 13:31:59 +02:00
Aleksander Machniak
602a989697 Fix PHP warning (#9611) 2024-09-07 08:56:26 +02:00
Aleksander Machniak
f3c526e6d1 Fix PHP deprecation warnings (#9616) 2024-09-07 08:55:05 +02:00
Aleksander Machniak
83f56f1758 OAuth: Support standard authentication with short-living password received with OIDC token (#9530) 2024-09-02 13:42:53 +02:00
Aleksander Machniak
f343ecea09 Fix regression where HTML messages were displayed unstyled (#9586) 2024-08-16 19:57:30 +02:00
Aleksander Machniak
32fed15346 Fix regression where printing/scaling/rotating image attachments was broken (#9571) 2024-08-08 14:06:38 +02:00
Aleksander Machniak
602d0f566e Fix information leak (access to remote content) via insufficient CSS filtering [CVE-2024-42010]
Credits to Oskar Zeino-Mahmalat (Sonar) https://www.sonarsource.com
2024-08-04 10:29:16 +02:00
Aleksander Machniak
89c8fe9ae9 - Fix XSS vulnerability in serving of attachments other than HTML or SVG [CVE-2024-42008]
Credits to Oskar Zeino-Mahmalat (Sonar) https://www.sonarsource.com
2024-08-04 10:29:10 +02:00
Aleksander Machniak
68af7c864a Fix XSS vulnerability in post-processing of sanitized HTML content [CVE-2024-42009]
Credits to Oskar Zeino-Mahmalat (https://www.sonarsource.com)
2024-08-04 10:29:02 +02:00
Aleksander Machniak
b5ed0e4946 Fix bug where imap_conn_option's 'socket' was ignored (#9566) 2024-08-02 12:26:04 +02:00
Aleksander Machniak
c9702be84c Fix merge conflict 2024-07-30 18:01:25 +02:00
Aleksander Machniak
f6c92ebafe Fix bug where a long subject title could not be displayed in some cases (#9416) 2024-07-27 09:18:14 +02:00
Aleksander Machniak
9d9f4d6926 Fix bug where an unhandled exception was caused by an invalid image attachment (#9475)
GD functions may throw ValueError in some cases since PHP 8.0.
We wrap them in try/catch blocks.
2024-07-21 14:26:57 +02:00
Aleksander Machniak
8eb583b499 Fix bug where "with attachment" filter could fail on some fts engines (#9514) 2024-07-21 13:57:40 +02:00
Aleksander Machniak
71804a8c53 Fix bug where some messages could get malformed in an import from a MBOX file (#9510) 2024-07-17 20:49:15 +02:00
Aleksander Machniak
e8e0c68369 Fix decoding mail parts with multiple base64-encoded text blocks (#9290) 2024-06-16 12:48:35 +02:00
KrzysztofWWW
6139544f1b Missing polish translation for "keep formatting" (#9493)
---------

Co-authored-by: Krzysztof Wiśniewski <krzysztof.wisniewski@solveit.pl>
2024-06-16 08:31:00 +02:00
Aleksander Machniak
22d403d5fd Fix fatal error when parsing some TNEF attachments (#9462) 2024-06-02 15:18:33 +02:00
Aleksander Machniak
43aaaa5286 Fix cross-site scripting (XSS) vulnerability in handling SVG animate attributes
Reported by Valentin T. and Lutz Wolf of CrowdStrike.
2024-05-19 10:20:43 +02:00
Aleksander Machniak
cde4522c5c Fix cross-site scripting (XSS) vulnerability in handling list columns from user preferences
Reported by Huy Nguyễn Phạm Nhật.
2024-05-19 10:17:55 +02:00
Aleksander Machniak
5ea9f37ce3 Fix command injection via crafted im_convert_path/im_identify_path on Windows
Reported by Huy Nguyễn Phạm Nhật.
2024-05-19 10:11:55 +02:00
Aleksander Machniak
b9493988d8 Fix PHP8 warning (#9429) 2024-04-29 11:08:34 +02:00
Aleksander Machniak
16fe3ba8c5 Fix PHP8 warnings (#9388) 2024-04-13 08:42:55 +02:00
Milos Ivanovic
8cd27b456d Minor correction to Serbian translation. (#9389) 2024-03-24 08:06:34 +01:00
Philip Weir
0d7f2f51f1 csv2vard: store labels by key not value (#9394) 2024-03-24 08:06:20 +01:00
Aleksander Machniak
3d04da2aab Fix PHP8 warnings (#9365) 2024-02-25 10:33:13 +01:00
Aleksander Machniak
5f66eac79d Fix PHP8 warnings (#9363) 2024-02-25 10:24:43 +01:00
Aleksander Machniak
a1c74eb8b4 Fix bug in collapsing/expanding folders with some special characters in names (#9324) 2024-01-28 10:38:28 +01:00
Aleksander Machniak
549f99cf8c Fix bug where HTML entities in URLs were not decoded on HTML to plain text conversion (#9312) 2024-01-27 14:54:23 +01:00
Aleksander Machniak
3ba78d3a1b Fix PHP8 warnings (#9306) 2024-01-20 10:42:45 +01:00
Aleksander Machniak
c95865e8a2 Fix PHP8 warnings (#9306) 2024-01-20 10:39:05 +01:00
Aleksander Machniak
9bd13574fb Clear IMAP capabilities on connection close
Fixes the state on connection close, so when you reconnect there's use
of old capabiltieis. This fixes the following scenario:
- user connects to imap and authenticates using LOGIN command,
  after this capabilities may contain LOGINDISABLED
- user disconnects
- in the same request user connects again and authenticates as before
  but it can't because of the wrong LOGINDISABLED state.
2024-01-08 14:01:28 +01:00
Aleksander Machniak
5d779abf82 Support (DEPTH 0) in GETMETADATA command 2024-01-05 14:44:03 +01:00
Aleksander Machniak
7950116ee1 Fix IMAP GETMETADATA command with options - RFC5464 2024-01-05 14:39:49 +01:00
Michael Voříšek
5474761725 Fix rcube::decrypt() (#9264)
* do not skip test_encrypt_and_decrypt test
* Fix rcube::decrypt()
2023-12-13 19:56:59 +01:00
Aleksander Machniak
b66f7aabda Fix PHP8 warning 2023-12-13 19:55:35 +01:00
TEXION TECH
44860ff45d Update labels.inc (#9232)
Update message
2023-12-13 19:55:22 +01:00
Michael Voříšek
793664f568 Fix invalid phpdocs (#9252)
* fix missing return type in phpdoc
* fix "phpdoc_scalar"
* Fix phpdoc variable names typos
* fix wrong phpdoc tags
2023-12-13 19:55:05 +01:00
Aleksander Machniak
24dfb2b3e8 Fix PHP8 warnings (#9242) 2023-12-09 08:48:07 +01:00
Aleksander Machniak
12a321bd7a Fix PHP8 warning (#9238) 2023-12-04 20:56:39 +01:00
Aleksander Machniak
3f33433a31 Fix PHP8 warning (#9235)
And added tests for utils/modcss action
2023-12-03 10:54:17 +01:00
Aleksander Machniak
88a040842f Update to TinyMCE 5.10.9 security release (#9228) 2023-11-28 20:26:20 +01:00
Aleksander Machniak
ff10f5a621 Fix page jump menu flickering on click (#9196) 2023-11-26 11:28:09 +01:00
Aleksander Machniak
0eb0b771c4 Fix PHP8 warnings 2023-11-19 11:58:07 +01:00
Aleksander Machniak
c59b643dec Fix regression in handling LDAP search_fields configuration parameter (#9210) 2023-11-11 10:39:47 +01:00
Aleksander Machniak
81ac3c342a Fix cross-site scripting (XSS) vulnerability in setting Content-Type/Content-Disposition for attachment preview/download
Thanks to rehme.infosec for reporting the issues.
2023-11-04 17:52:34 +01:00
Aleksander Machniak
6d7557799a Fix regression where smtp_user did not allow pre/post strings before/after %u placeholder (#9162) 2023-10-29 13:14:13 +01:00
Denys Klymenko
efd5842dcb Fix PHP fatal error on folder read-only check (#9190) 2023-10-29 12:53:07 +01:00