Bugzilla – Attachment 166718 Details for
Bug 36382
XSS in showLastPatron dropdown
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36382: (QA follow-up) Don't escape quotes in escapeHtml
Bug-36382-QA-follow-up-Dont-escape-quotes-in-escap.patch (text/plain), 884 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2024-05-14 17:46:14 UTC
(
hide
)
Description:
Bug 36382: (QA follow-up) Don't escape quotes in escapeHtml
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-05-14 17:46:14 UTC
Size:
884 bytes
patch
obsolete
>From b1f78f788875fa9aee8115ea4f325bc9b66204b9 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 29 Mar 2024 07:07:54 -0400 >Subject: [PATCH] Bug 36382: (QA follow-up) Don't escape quotes in escapeHtml > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index d68bb9a56ad..7be043165b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -31,8 +31,6 @@ var HtmlCharsToEscape = { > "&": "&", > "<": "<", > ">": ">", >- "'": ''', >- '"': '"' > }; > String.prototype.escapeHtml = function () { > return this.replace(/[&<>]/g, function (c) { >-- >2.45.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 36382
:
163615
|
163727
|
164119
|
164123
|
166717
| 166718