David Goodwin
92fe42dd95
ensure sql injection is not possible with user supplied data being used as SQL column names in getPageBrowser - due to 2a6f27c3 / #1127
...
postfixadmin 4.0 does not pass user supplied keys as SQL column names, so is not vulnerable - this just provides a bit of defense in depth.
cherry picked from commit 317696013fe3a0c0b1135af0418f94d20599a5ef; test adjusted for 4.0's domain alias limit
2026-10-11 10:26:14 +01:00
David Goodwin
284e1f7eb2
fix test after language change
2021-07-08 19:44:11 +01:00
David Goodwin
2edabc3e03
phpcs insists on some brace changes
2021-04-13 21:19:16 +01:00
David Goodwin
823f27b29d
phpcs wants to change ...
2021-03-22 09:28:28 +00:00
David Goodwin
7107e17c4c
composer format
2020-09-25 21:33:26 +01:00
David Goodwin
3c7da4f3b8
Refactor some methods
...
PFAHandler::store() -> PFAHandler::save();
PFAHandler::storemore() -> PFAHandler::postSave();
PFAHandler::beforestore() -> PFAHandler::preSave();
2020-09-25 21:29:45 +01:00
David Goodwin
12f68a6e3a
composer format time
2020-08-13 15:27:47 +01:00
David Goodwin
5bd5bdc25b
merge https://github.com/postfixadmin/postfixadmin/pull/375 add unit test
2020-08-13 15:00:22 +01:00
David Goodwin
ef1fb36133
improve unit tests for PostgreSQL
2020-06-23 21:43:19 +01:00
David Goodwin
3cd62f9f4f
update to phpunit v8, try changing coveralls library, update github action
2020-04-14 21:03:10 +01:00
David Goodwin
01b4d6c587
cleanup db after running
2020-03-02 09:55:35 +00:00
David Goodwin
6a7abbe663
fix formatting
2020-03-02 09:41:31 +00:00
David Goodwin
28a3f5f157
better testing
2020-03-02 09:37:17 +00:00
David Goodwin
cd8cf289b4
more empty tests
2019-09-17 21:40:41 +01:00