Bugzilla – Attachment 123866 Details for
Bug 28784
DoS in opac-search.pl causes OOM situation and 100% CPU (doesn't require login!)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28784: [20.05.x] (follow-up) Always make three search boxes
Bug-28784-2005x-follow-up-Always-make-three-search.patch (text/plain), 1.62 KB, created by
Jonathan Druart
on 2021-08-17 07:41:44 UTC
(
hide
)
Description:
Bug 28784: [20.05.x] (follow-up) Always make three search boxes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-17 07:41:44 UTC
Size:
1.62 KB
patch
obsolete
>From 5f9cc9948b36773c36277ffb97146829394bdb92 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 3 Aug 2021 12:17:02 +0000 >Subject: [PATCH] Bug 28784: [20.05.x] (follow-up) Always make three search > boxes > >The previous patch removed search_boxes_loop - that's okay, it was always >getting the same three values. > >If we don't do something in the template though, we get no boxes > >Ultimately this should be a include, and not a hardcoded loop, but keeping changes >small for backporting > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 3b8308e1157..1b38fdd1b57 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -24,7 +24,7 @@ > <div id="booleansearch" class="maincontent"> > <fieldset> > <legend>Search for:</legend> >- [% FOREACH search_box IN search_boxes_loop %] >+ [% FOREACH search_box IN [ 1, 2, 3] %] > <p> > [% IF ( expanded_options ) %] > [% IF ( search_box.boolean ) %] >-- >2.25.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 28784
:
123407
|
123409
|
123412
|
123413
|
123414
|
123416
|
123467
|
123468
|
123558
|
123559
|
123560
|
123561
|
123866
|
123867