]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1869971: (follow-up) also apply HTML::Defang in the OPAC templates
authorGalen Charlton <gmc@equinoxOLI.org>
Mon, 18 Mar 2024 15:09:17 +0000 (11:09 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 18 Mar 2024 15:09:17 +0000 (11:09 -0400)
commitaea53ca419f5d4c7fa156f785e2fe6704eea48ad
treeca75fb497c6d3dac981b48a2704a9ae859343cdd
parent0311ad575938a12a050609e91ecb710b42520bd4
LP#1869971: (follow-up) also apply HTML::Defang in the OPAC templates

This patch ensures that HTML::Defang (via the defang_string() TT helper)
is applied to the value of the OPAC custom CSS library setting. This
provides additional protection in cases where questionable values
predate these patches or if another means (such as direct database entry)
is used to set the value of the setting.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates-bootstrap/opac/parts/base.tt2
Open-ILS/src/templates-bootstrap/opac/parts/base_simple.tt2
Open-ILS/src/templates/opac/parts/base.tt2