Commit Graph

30 Commits

Author SHA1 Message Date
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
4b5e9c10f9 Fix handling of multiple link references with the same index in plain text message (#8021)
Second attempt that should work on all supported PHP versions
2021-04-25 10:57:17 +02:00
Aleksander Machniak
dc89e18a0f Revert "Fix handling of multiple link references with the same index in plain text message (#8021)"
This reverts commit 2be7e1cb61.

The code used a PHP>=7.4 feature.
2021-04-25 09:15:05 +02:00
Aleksander Machniak
2be7e1cb61 Fix handling of multiple link references with the same index in plain text message (#8021) 2021-04-25 09:05:51 +02:00
Aleksander Machniak
39b3c0049e Fix cross-site scripting (XSS) via HTML or Plain text messages with malicious content [CVE-2020-35730]
Credits to Alex Birnberg <birnbergalex@gmail.com>
2020-12-27 18:27:42 +01:00
Aleksander Machniak
f4ed1024dc PHP8 fixes, CS fixes, short array syntax, tests 2020-12-02 20:15:00 +01:00
Aleksander Machniak
bde383d051 PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
a5c2b4360c Fixes in context of undefined variables, and code style 2020-08-15 12:13:31 +02:00
Aleksander Machniak
3e2f076628 Fix bug in conversion of email addresses to mailto links in plain text messages (#7526) 2020-08-07 10:03:56 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
e8ab3d96bd Fix converting mail addresses with @www. into mailto links (#5197) 2016-04-12 11:53:04 +02:00
Aleksander Machniak
a03233ceba CS fixes 2015-10-07 09:14:18 +02:00
Aleksander Machniak
df0b4f3437 Make sure an email address is valid when replacing it with mailto: link 2015-09-15 12:52:18 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
001d337b37 Fix handling unicode characters in links (#1489898) 2014-05-16 16:00:33 +02:00
Aleksander Machniak
d1abd8e339 Fix infinite loop in rcube_utils::mod_css_styles() after recent changes in rcube_string_replacer 2013-10-12 12:28:40 +02:00
Thomas Bruederli
c856b73c86 Minor improvements to linkref parser 2013-10-11 14:12:42 +02:00
Thomas Bruederli
e480ca00ba Replace markdown-style [1] link indexes in plain text email bodies. [1]: http://daringfireball.net/projects/markdown/ 2013-10-10 23:02:36 +02:00
Aleksander Machniak
0bac7b32de Fix wrong handling of links with '|' character (#1489276) 2013-08-07 13:48:07 +02:00
Thomas Bruederli
cff07b5f76 Fix parsing of links with ... in URL (#1489192) 2013-07-25 22:14:59 +02:00
Aleksander Machniak
70229cbbfc Fix incorrect handling of some specific links (#1489060) 2013-04-22 14:09:54 +02:00
Aleksander Machniak
1e32540839 Add rel="noreferrer" for links in displayed messages (#1484686) 2013-03-19 12:47:07 +01:00
Aleksander Machniak
16915ee2ad Don't convert to link a text with < and > characters 2013-01-08 12:13:44 +01:00
Aleksander Machniak
0931a97c5f Fix handling of parentheses in URLs 2012-12-23 15:09:56 +01:00
Aleksander Machniak
0d214498d0 CS fixes 2012-12-18 19:02:53 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Thomas Bruederli
60226a75d8 Separate the very application-specific output classes from the Roundcube framework; add autoloader for rmail* classes 2012-11-27 12:13:33 +01:00
Thomas Bruederli
10da75f364 Move shortcut functions to framework class 2012-11-27 11:17:37 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00