13 Commits
Author SHA1 Message Date
Kent Riboe 26530c5d0b Replace escape_string() concatenation with parameterized queries (#1004)
* Replace most escape_string() usages with parameterized queries (reducing the chance of SQL injection), see also #1003 

thanks @knofte
2026-04-06 20:47:34 +01:00
David Goodwin d445dac916 fix sql in clause so global search works again 2026-02-28 16:42:25 +00:00
David Goodwin 0216259af3 main.php: use db_in_clause() instead (thanks @copilot) 2026-01-29 13:41:54 +00:00
David Goodwin 6b87a816fd global search -> avoid shortcut of empty list for super-admin, always populate list, and only allow a search if $list_domains is not empty 2026-01-28 09:50:26 +00:00
David Goodwin 1bde85c8ac fixes #947 - restrict global search to domains the admin type user has visibility for 2026-01-28 09:50:26 +00:00
David Goodwin 460c624275 remove more references to sourceforge 2025-07-13 18:29:37 +01:00
David Goodwin 759304ecb8 apparently these all need reformatting 2024-12-05 14:33:41 +00:00
David Goodwin 5f5c52257d add token "global search" on the frontpage for superadmins to perhaps find some things quickly 2024-07-23 20:57:39 +01:00
David Goodwin 2a58056fff be more consistent with how we load common.php, improve comments 2021-03-09 20:34:09 +00:00
David Goodwin b8fa60bb8a more type hints / psalm fixes 2020-09-28 20:33:54 +01:00
David Goodwin f6f62180e8 remove some global variables 2020-09-27 11:02:58 +01:00
Adrien Crivelli 15df6c1d7b Reformat everything with PHP-Cs-Fixer 2018-01-26 23:54:37 +09:00
David Goodwin 99147d51eb move public facing stuff into public/, this allows us to stop exposing templates_c/ etc to the world 2018-01-25 20:27:09 +00:00