Bugzilla – Attachment 157811 Details for
Bug 25672
Administrators should be able to restrict client-side plugin upload to trusted sources
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25672: Enable enable_plugin_browser_upload by default
Bug-25672-Enable-enablepluginbrowserupload-by-defa.patch (text/plain), 2.09 KB, created by
Kyle M Hall
on 2023-10-25 15:28:20 UTC
(
hide
)
Description:
Bug 25672: Enable enable_plugin_browser_upload by default
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2023-10-25 15:28:20 UTC
Size:
2.09 KB
patch
obsolete
>From 1004758d150699f6547933db467569a18792ba0e Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 8 Jul 2020 23:07:47 +0000 >Subject: [PATCH] Bug 25672: Enable enable_plugin_browser_upload by default > >This patch enables enable_plugin_browser_upload by default, >since the current behaviour for Koha is to enable browser upload >when enable_plugins is 1. > >Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > debian/templates/koha-conf-site.xml.in | 2 +- > etc/koha-conf.xml | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/templates/koha-conf-site.xml.in b/debian/templates/koha-conf-site.xml.in >index 54500cd9715..f1f6e5af23d 100644 >--- a/debian/templates/koha-conf-site.xml.in >+++ b/debian/templates/koha-conf-site.xml.in >@@ -266,7 +266,7 @@ __END_SRU_PUBLICSERVER__ > <authorityservershadow>1</authorityservershadow> > <pluginsdir>__PLUGINS_DIR__</pluginsdir> <!-- This entry can be repeated to use multiple directories --> > <enable_plugins>0</enable_plugins> >- <enable_plugin_browser_upload>0</enable_plugin_browser_upload> >+ <enable_plugin_browser_upload>1</enable_plugin_browser_upload> > <upload_path>__UPLOAD_PATH__</upload_path> > <tmp_path>__TMP_PATH__</tmp_path> > <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir> >diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml >index 5fa53c1da57..d6d22aacf1f 100644 >--- a/etc/koha-conf.xml >+++ b/etc/koha-conf.xml >@@ -79,7 +79,7 @@ > <authorityservershadow>1</authorityservershadow> > <pluginsdir>__PLUGINS_DIR__</pluginsdir> <!-- This entry can be repeated to use multiple directories --> > <enable_plugins>0</enable_plugins> >- <enable_plugin_browser_upload>0</enable_plugin_browser_upload> >+ <enable_plugin_browser_upload>1</enable_plugin_browser_upload> > <upload_path></upload_path> > <tmp_path></tmp_path> > <intranetdir>__INTRANET_CGI_DIR__</intranetdir> >-- >2.30.2
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 25672
:
106651
|
106671
|
106673
|
106674
|
107172
|
107173
|
107174
|
153824
|
153825
|
153826
|
153827
|
153925
|
154423
|
154424
|
154425
|
154426
|
154427
|
154453
|
154455
|
154464
|
154465
|
154466
|
154467
|
154468
|
154474
|
154475
|
154476
|
154477
|
154478
|
156715
|
156716
|
156717
|
156718
|
156719
|
156720
|
156734
|
156735
|
156736
|
156737
|
156738
|
156739
|
156740
|
157730
|
157810
|
157811
|
157812
|
157813
|
157814
|
157815
|
157816
|
157817
|
157836
|
157837
|
157838
|
157839
|
157840
|
157841
|
157842
|
157843
|
157846
|
157847
|
157848
|
157849
|
157850
|
157851
|
157852
|
157853