Bugzilla – Attachment 114561 Details for
Bug 22243
Advanced Cataloguer editor fails if the target contains an apostrophe in the name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22243: Fix unescaped apostrophe in Z target
Bug-22243-Fix-unescaped-apostrophe-in-Z-target.patch (text/plain), 1.54 KB, created by
Nick Clemens (kidclamp)
on 2020-12-21 14:59:32 UTC
(
hide
)
Description:
Bug 22243: Fix unescaped apostrophe in Z target
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-12-21 14:59:32 UTC
Size:
1.54 KB
patch
obsolete
>From f9bfad16fe12bb1f34b90e29ef373a6eae79ab62 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Thu, 31 Jan 2019 09:40:08 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 6f44f4b9da..9089af4192 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -51,7 +51,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > [%- FOREACH server = z3950_servers -%] > { > server_id: [% server.id | html %], >- name: '[% server.servername | html %]', >+ name: '[% server.servername | html_entity %]', > recordtype: '[% server.recordtype | html %]', > checked: [% server.checked ? 'true' : 'false' | html %], > }, >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22243
:
84566
|
114499
|
114502
| 114561