]> git.koha-community.org Git - koha.git/commit
Bug 36244: Do template toolkit processing first
authorAndreas Jonsson <andreas.jonsson@kreablo.se>
Thu, 7 Mar 2024 09:12:25 +0000 (09:12 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 3 Apr 2024 15:05:46 +0000 (17:05 +0200)
commitbc305ac584f73928c4d28378e57b6c3d945b8d6a
treec38ce33030b96aaf84977104dc994219128d514f
parent37347c024b01defa473c8ff5a4b73ceaf064ed14
Bug 36244: Do template toolkit processing first

To avoid injection of template toolkit code
from database fields that are controlled by
untrusted sources.

Test plan:

* review subtest 'Template toolkit syntax in
  parameters' in t/db_dependent/Letters.t
* Run the unit test:
  prove t/db_dependent/Letters.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Letters.pm