]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 26 Dec 2020 17:14:11 +0000 (18:14 +0100)
commit7ffa71fbd1fa0e4b8c036f02b8a73eacbdfac066
treeac46bc74effdff84f07294a2d4f71b56a4466afe
parent28423fa756439607fbbe72d70806e964098345a6
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>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc