Koha/koha-tmpl
Michał Kula 37eb3092c1 Bug 35072: Fix invalid usage of "&" in JavaScript intranet-tmpl script redirects
These escapes were invalid in these places, as HTML entity escapes
are meant to be used only inside of HTML elements/attributes, not
inside of JavaScript code.

These URLs would be sent out by the browser as-is, and that'd usually
work on the default install only coincidentally. Unfortunately, on some
setups (such as when using reverse proxies), this would break, and the
URL after "&" would have been truncated.

This small patch adjusts the URLs in templates to not use wrong escapes,
and makes them consistent with how URLs are formatted for JavaScript
redirects in most of the templates already.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit da9f74e56a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-10-25 20:55:51 -10:00
..
intranet-tmpl Bug 35072: Fix invalid usage of "&amp;" in JavaScript intranet-tmpl script redirects 2023-10-25 20:55:51 -10:00
opac-tmpl Bug 34946: Remove the use of event attributes from self checkout and check-in 2023-10-25 20:27:50 -10:00