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:14 +0000 (12:42 -0500)
commitbe000d2c73e34e5e562621074396fe05275a7b22
tree081f2082b4fc73801e98798147787cbe1523d433
parentc118b746ed9a619ab42459782923e66e2a7a65df
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