]> git.koha-community.org Git - koha.git/commit
Bug 22243: Fix unescaped apostrophe in Z target
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 31 Jan 2019 09:40:08 +0000 (09:40 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 4 Jan 2021 21:37:31 +0000 (21:37 +0000)
commite7898e96e081a4dde6e1a4d1eb41775b010e256f
treead49650faab7906e9e0316771b25f5e42261d8f6
parent4d16cddd7cf495f58f509a930377fdf977876647
Bug 22243: Fix unescaped apostrophe in Z target

This patch escapes apostrophes in the z39.50 target name prior to them
being embedded in the template.

To test:

- Create a z39.50 target containing an apostrophe in the title
- Note that the Advanced Cataloguer editor does not load
- Apply the patch
- TEST: Note that the Advanced Cataloguer editor does load

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7ffa71fbd1fa0e4b8c036f02b8a73eacbdfac066)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d97b64c83db7ab1740e43af55c243c075e1f359d)
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc