LP1914116: Apply html filter to mkurl() output
authorJason Boyer <JBoyer@equinoxinitiative.org>
Mon, 8 Feb 2021 19:20:32 +0000 (14:20 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 16 Feb 2021 15:05:38 +0000 (10:05 -0500)
commitcfec75102c91731a982e9ba25db5440cacd737be
treebec735d6f76379334fb1e5f18b9e5af443b02811
parent162afcb251072307a38808edc414313747b62565
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