]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Dec 2020 14:20:51 +0000 (15:20 +0100)
commitd97b64c83db7ab1740e43af55c243c075e1f359d
treed9424f87b7ecbad9ddf5b474cc684998ee10cb01
parent0abe7d23afbb54ce5534c32bc84c92b5b045df8e
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>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc