Koha/koha-tmpl/intranet-tmpl
Michał Kula da9f74e56a
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>
2023-10-24 10:05:27 -03:00
..
js Bug 32307: Fix gallery when Coce is enabled 2023-02-20 09:54:16 -03:00
lib Bug 34014: Add support for advanced cataloging editor 2023-10-20 11:02:58 -03:00
prog Bug 35072: Fix invalid usage of "&amp;" in JavaScript intranet-tmpl script redirects 2023-10-24 10:05:27 -03:00