Bugzilla – Attachment 44895 Details for
Bug 15197
In Rancor, multiple &/</" characters not escaped on saving
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15197: In Rancor, multiple &/</" characters not escaped on saving
Bug-15197-In-Rancor-multiple--characters-not-escap.patch (text/plain), 943 bytes, created by
Jesse Weaver
on 2015-11-16 21:54:10 UTC
(
hide
)
Description:
Bug 15197: In Rancor, multiple &/</" characters not escaped on saving
Filename:
MIME Type:
Creator:
Jesse Weaver
Created:
2015-11-16 21:54:10 UTC
Size:
943 bytes
patch
obsolete
>From d3ddf49dd8210951a7d62c885438bc568ca8b2c0 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <pianohacker@gmail.com> >Date: Tue, 10 Nov 2015 12:12:43 -0700 >Subject: [PATCH] Bug 15197: In Rancor, multiple &/</" characters not escaped > on saving > >--- > koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js >index d795511..fb7be33 100644 >--- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js >+++ b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-record.js >@@ -37,7 +37,7 @@ define( function() { > }; > > function _escape(str) { >- return str.replace( /[<&"]/, function (c) { return _escape_map[c] } ); >+ return str.replace( /[<&"]/g, function (c) { return _escape_map[c] } ); > } > > function _intpadded(i, digits) { >-- >2.6.1
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 15197
:
44894
|
44895
|
44896
|
44897
|
44905