LP1914116: Apply html filter to mkurl() output
authorJason Boyer <JBoyer@equinoxinitiative.org>
Mon, 8 Feb 2021 19:20:32 +0000 (14:20 -0500)
committerJason Boyer <JBoyer@equinoxinitiative.org>
Mon, 15 Feb 2021 17:42:39 +0000 (12:42 -0500)
commitb9f6c1627fb0a9b02865f2562b81fa8cc654af37
treeda32040a2c867cbd1cd03ab6939813903b6e11ad
parent234d554e237f984947a23803f0c592395d3aba35
LP1914116: Apply html filter to mkurl() output

Because of the way that mkurl() generates its query parameters they're
generally escaped correctly, but nowhere do we run the output of mkurl()
through the html filter to correctly handle ampersands. Rather than adding
"|html" to every invocation of mkurl, it's just added to the macro directly.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates-bootstrap/opac/parts/header.tt2
Open-ILS/src/templates/opac/parts/header.tt2