Koha-clms/C4/Utils
Jonathan Druart cdb6eb0f84 Bug 27715: Sanitize order by DT params
We are not on the safe side when we build the ORDER BY clause from the
DataTables parameters.

I've started to limit the columns by using Koha::Objects->columns, but
for instance for the patron search we need (at least) the columns from
the branches, categories and members tables.
It seems easier, and still safe, to use a regex.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-02-23 22:32:52 +01:00
..
DataTables Bug 25875: Move check for module_bit and code to the JOIN 2020-07-16 16:36:45 +12:00
DataTables.pm Bug 27715: Sanitize order by DT params 2021-02-23 22:32:52 +01:00