Commit Graph

42 Commits

Author SHA1 Message Date
Aleksander Machniak
b2bebe531a Fix bug where usernames without domain part could be malformed or converted to lower-case on logon (#6224) 2018-04-10 09:24:29 +02:00
Aleksander Machniak
f36e23b778 Fix parsing date strings (e.g. from a Date: mail header) with comments (#6216) 2018-03-18 19:22:09 +01:00
Aleksander Machniak
0f3ad342f7 Fix bug where some unix timestamps were not handled correctly by rcube_utils::anytodatetime() (#6212) 2018-03-09 09:32:44 +01:00
Aleksander Machniak
9d2b303b51 Fix bug in remote content blocking on HTML image and style tags (#6178) 2018-02-14 20:19:32 +01:00
Daniel Kesselberg
a8d5547163 Update idn convertion methods (#6115)
* Add more test cases
* Update phpdoc
2017-12-31 13:22:48 +01:00
Aleksander Machniak
63a7d2313f Improve SMTPUTF8 support and fix relaxed email validation issues 2017-12-31 13:14:31 +01:00
Daniel Kesselberg
a3504cb3b8 Add unit test for IDN (#6114) 2017-12-30 08:41:10 +01:00
Aleksander Machniak
3196d656db Fix css conflicts in user interface and e-mail content (#5891)
... by adding prefix to element/class identifiers
Also cleaned up some code and removed global variable use.
2017-10-12 10:48:54 +02:00
Aleksander Machniak
5d16751ed8 Fix (again) bug where image data URIs in css style were treated as evil/remote in mail preview (#5580) 2017-10-01 11:58:11 +02:00
Aleksander Machniak
1fcf7bfab3 Fix bug where HTML messages with @media styles could moddify style of page body (#5811) 2017-06-28 08:26:05 +02:00
Aleksander Machniak
8f22c3287d Fix bug where comment notation within style tag would cause the whole style to be ignored (#5747) 2017-05-05 11:51:51 +02:00
Thomas Bruederli
522565b400 Add tests for XSS vulnerabilities in style tags 2017-03-10 23:20:01 +01:00
Aleksander Machniak
7340360e79 Fix bug where image data URIs in css style were treated as evil/remote in mail preview (#5580) 2017-01-07 09:59:42 +01:00
Aleksander Machniak
dcabc1d814 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tests/Framework/Washtml.php
2016-07-31 09:26:19 +02:00
Aleksander Machniak
906cf101c3 Better time handling in rcube_utils::clean_datestr() 2016-07-29 12:40:15 +02:00
Aleksander Machniak
ed35267b9b Managesieve: Fix parsing of vacation date-time with non-default date_format (#5372)
Added new method rcube_utils::format_datestr() to convert date_format date
into ISO date format.
2016-07-29 05:42:18 -04:00
Aleksander Machniak
6737e293bb Wash position:fixed style in HTML mail for better security (#5264) 2016-05-29 17:09:41 +02:00
Aleksander Machniak
cbe701ac4a Fix rcube_utils::words_match() to work with mixed/invalid/binary content (T844) 2015-11-18 13:27:00 +01:00
Aleksander Machniak
26086981a2 Improve randomness of security tokens (#1490529) 2015-09-08 17:38:19 +02:00
Aleksander Machniak
7a42173a16 Simplify rcube_utils::check_ip() 2015-08-13 09:04:19 +02:00
Aleksander Machniak
8447bae77c Require Mbstring and OpenSSL extensions (#1490415) - remove redundant code 2015-06-28 12:27:48 +02:00
Aleksander Machniak
3994b3a26c Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key (#1490402) 2015-05-23 09:42:11 +02:00
Aleksander Machniak
389f70996c Skip some tests on PHP 5.3.3 2015-05-05 10:37:19 -04:00
Aleksander Machniak
eb58b6c537 Fix failing rcube_utils::strtotime() test if system timezone was different than expected 2015-05-05 12:40:17 +02:00
Thomas Bruederli
e8b82c2e7b Fix rcube_utils::normalize_string() to support unicode characters + add argument for minimum token length 2014-12-28 16:22:08 +01:00
Thomas Bruederli
09c58d1add Make rcube_utils::strtotime() timezone aware (#1490163) 2014-12-28 15:41:47 +01:00
Aleksander Machniak
11eb072f80 Fix rcube_utils::get_boolean() test to not use deprecated function alias 2014-12-22 10:40:06 +01:00
Aleksander Machniak
848e204ef9 Fix validation of email addresses with IDNA domains (#1490067) 2014-09-13 12:36:54 +02:00
Aleksander Machniak
49dad5f669 Fix broken normalize_string(), add support for ISO-8859-2 2014-05-27 11:39:31 +02:00
Aleksander Machniak
d921587f29 Add more tests for normalize_string() - some failing 2014-05-27 10:22:10 +02:00
Aleksander Machniak
517c9f9a8d Fix directories check in Installer on Windows (#1489576)
Added rcube_utils::is_absolute_path() method
2014-02-07 14:43:51 +01:00
Aleksander Machniak
b1f3c3bee8 Fixed saving contact birthday/anniversary dates before 01-01-1970 2013-10-28 15:28:58 +01:00
Thomas Bruederli
fdb30f3279 Fix CSS selector modifications when nested in @media blocks 2013-10-26 11:49:02 +02:00
Aleksander Machniak
b32fab16ef Fix handling of non-default date formats (#1489294)
- remove ambiguous m/d/Y format from default config
2013-08-24 18:08:54 +02:00
Aleksander Machniak
896e2b4e51 Add more rcube_utils tests 2013-05-28 21:26:44 +02:00
Aleksander Machniak
5383ad72db Add more tests for rcube_utils::explode_quoted_string() 2013-05-28 21:10:14 +02:00
Aleksander Machniak
fe0f1d589b Improve rcube_utils::file2class() to not return duplicates 2013-05-28 20:59:44 +02:00
Aleksander Machniak
0c82e95c59 Apply rcube_shared.inc -> bootstrap.php change in tests 2012-11-27 09:13:13 +01:00
Aleksander Machniak
3a54cc5013 Fix rcube_utils::explode_quoted_string() with explode(), added tests 2012-11-15 15:36:10 +01:00
Aleksander Machniak
5f8097b9eb Added tests for specialchars quoting 2012-08-27 12:55:58 +02:00
Aleksander Machniak
a65ce5d3b0 Rename ip_check to check_ip, add IP checking tests 2012-08-27 12:23:30 +02:00
Aleksander Machniak
9b05f19338 Restructured tests 2012-08-27 08:45:13 +02:00