Commit Graph
2715 Commits
Author SHA1 Message Date
David Goodwin 8c69c99745 patch some XSS issues in 3.3.x: incorrect use of smarty escape:quotes, failure to escape output from viewlog.php - thanks @mirko, create release for 3.3.17 postfixadmin-3.3.17 2026-11-18 09:24:21 +00:00
Rodrigo Cortés Cano cddb8c825b Escape viewlog output by default (#1134)
Render log records through the default output sanitization path and
remove the inline JavaScript interpolation of log data.

Full log data remains available through a native details element without
placing it in a script context.

Refs #1128

thanks @TrapoSAMA
2026-11-18 09:17:27 +00:00
David Goodwin 80963d8f87 Merge pull request #974 from csware/pf3.3-alias-id-check
Check for address validity before checking domain existence (backport 3.3)
2026-01-26 09:44:44 +00:00
Sven Strickroth 6dba2f563d Check for address validity before checking domain existence
get_domain_properties might throw.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-25 16:29:17 +01:00
David Goodwin 6bc4042fdc Merge pull request #968 from csware/pf3.3_utf8_mb4
Fix of #484 was incompletely applied to 3.3 branch
2026-01-25 14:12:02 +00:00
Sven Strickroth db4484d46c Fix of #484 was incompletely applied
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-25 11:14:48 +01:00
David Goodwin 92ab95a3c5 update changelog etc for v 3.3.16 v3.3.16 postfixadmin-3.3.16 2025-09-09 17:31:34 +01:00
David Goodwin 61dce877dc add some domain != 'ALL' clauses into the SQL - see #916 2025-03-25 19:09:20 +00:00
David Goodwin 87503a8be3 add sqlite3 to debian control dependency list - see #909, thanks @marner2 2025-03-05 21:03:08 +00:00
David Goodwin 023d539fea add comment for #908 ... about sql_generate_invisible_primary_key and MySQL 8 2025-02-28 22:31:55 +00:00
David Goodwin 41f0eb435e formatting fix 2025-02-21 12:56:10 +00:00
David Goodwin e3162d3494 update changelog to include note on CSP 2025-02-21 09:53:06 +00:00
David Goodwin 847220442b add a lax content-security-policy http header - see #905 2025-02-21 09:52:03 +00:00
David Goodwin 36590a9ebc update changelog - add entry for #902 2025-02-21 09:37:02 +00:00
David Goodwin 2b4c3dc849 upgrade moment.js to v2.30.1 - should fix issue with ReDOS (regex denial of service) - see #902 2025-02-21 09:35:22 +00:00
David Goodwin 8bc15bc796 update changelog - add note about #903 2025-02-21 09:13:20 +00:00
David Goodwin 5870a1946f tighten up the cookie used by postfixadmin for PHP sessions - add samesite, httponly and perhaps secure flags, see #903, thanks @gitblacker 2025-02-21 09:11:23 +00:00
David Goodwin 1203e3d01c we appear to have broken support for PHP7.0 with #541 sometime ago, so update composer.json / INSTALL.TXT etc - see #879 2024-12-25 14:58:50 +00:00
David Goodwin 37328e97b1 update changelog to include smarty update postfixadmin-3.3.15 2024-12-20 16:17:57 +00:00
David Goodwin d6b92b1c81 bump smarty to v4.5.5 - php8.4 support - see https://github.com/smarty-php/smarty/releases/tag/v4.5.5 2024-12-20 16:15:08 +00:00
David Goodwin e8d5902ace update changelog + add version 3.3.15 2024-12-20 16:10:07 +00:00
Jing Luo 58d0f727b2 add a manpage for postfixadmin-cli(1) 2024-12-02 08:54:35 +00:00
David Goodwin 2d70474765 fix: "PHP Deprecated: Using unregistered function "htmlentities" in a template..." from Smarty, see https://github.com/postfixadmin/postfixadmin/issues/872 2024-11-22 19:19:42 +00:00
David Goodwin 61e1d661d0 move to use psalm/phar which removes some dev time dependencies 2024-11-19 21:52:02 +00:00
David Goodwin 50163ed2da update changelog postfixadmin-3.3.14 2024-11-19 21:49:37 +00:00
David Goodwin abd4dcb401 update bundled smarty to v4.5.4 2024-11-19 21:49:31 +00:00
David Goodwin 5bca2464a3 see #858 - change debian dependencies slightly (mysql-client) 2024-10-26 09:04:24 +01:00
David Goodwin 49c254a4e6 avoid undefined array key quota.... see #853 2024-09-01 19:23:58 +01:00
David Goodwin 0e68334864 update version to 3.3.14, update CHANGELOG (perhaps ready for 3.3.14) 2024-06-09 10:25:27 +01:00
David Goodwin 2694adbc27 bump smarty to 4.5.3 (the smarty release is regarded as a security fix ( CVE-2024-35226 ). PostfixAdmin should not be vulnerable as it does not use the extends tag. 2024-06-09 10:20:44 +01:00
David Goodwin 37fe4d993a tweak the formatting of the vacation form so there is more space on a reasonably sized screen; remove extra closing div tag, see also #834 ; thanks to @ariabamdad 2024-06-04 20:19:23 +01:00
David Goodwin 364f98632f see #826 - avoid $no_vacation_pattern of "" causing everyone to be skipped 2024-05-09 08:43:07 +01:00
David Goodwin fd1948602f give the language selector an id - see #736 - thanks @frzquerty 2023-06-23 21:10:48 +01:00
David Goodwin 549e6b787d update CHANGELOG 2023-06-20 09:24:11 +01:00
David Goodwin d72f1e8006 setup.php does not use the datetime widget or any funky bootstrap special effects, so we might as well remove JS from it 2023-06-20 09:22:55 +01:00
Christian Boltz 97434644ab also replace jquery 1.12.4 with 3.7.0 in setup.php
... and delete the old jquery-1.12.4.min.js
2023-06-20 09:22:55 +01:00
David Goodwin 2ed3e14f95 replace jquery 1.12.4 with 3.7.0 - see #734 2023-06-20 09:22:55 +01:00
David Goodwin 919e5a7834 stop non-string value for length breaking stuff - see https://github.com/postfixadmin/postfixadmin/issues/697 - thanks @bmatthewshea 2022-12-30 20:41:28 +00:00
David Goodwin b7cf7e040c bump version number... see #694 2022-12-09 09:28:13 +00:00
David Goodwin b6eab5daed update CHANGELOG.TXT postfixadmin-3.3.13 2022-12-08 20:34:43 +00:00
David Goodwin d092c9504d update changelog 2022-12-06 19:10:42 +00:00
David Goodwin 19b6f96544 mysql does not support DROP CONSTRAINT, looks like it is MariaDB only - see https://github.com/postfixadmin/postfixadmin/issues/591#issuecomment-1021340592 2022-12-06 19:05:34 +00:00
David Goodwin 51d3fdb4bf Update CHANGELOG 2022-12-06 08:59:02 +00:00
David Goodwin f297ce07c4 code format 2022-12-06 08:56:28 +00:00
David Goodwin 131302951e do not show version_number/0 on setup.php 2022-12-06 08:56:23 +00:00
David Goodwin 80a5a43cb6 update quota/quota2 username collation - see #690 2022-12-06 08:55:40 +00:00
David Goodwin 53bb238a26 set env var to fudge build oh php-cs-fixer under php8.1 postfixadmin-3.3.12 2022-12-04 20:47:07 +00:00
David Goodwin b27001cc52 do not pass null in as the last argument to str_replace (PHP8.1 does not like this) 2022-12-04 20:38:46 +00:00
David Goodwin 667de0938b downgrade php-cs-fixer 2022-12-04 20:33:26 +00:00
David Goodwin 9203bd5ab8 postfixadmin v3.3.x ought to work on PHP 7.0 <-> 8.1 2022-12-04 20:10:44 +00:00