Bugzilla – Attachment 106671 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), 1.84 KB, created by
David Cook
on 2020-07-08 23:08:53 UTC
(
hide
)
Description:
Bug 25672: Enable enable_plugin_browser_upload by default
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-07-08 23:08:53 UTC
Size:
1.84 KB
patch
obsolete
>From 48f255b41221d9fe181b7d401724c557297552e0 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. >--- > 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 9f7d1054df..6bcbc1083c 100644 >--- a/debian/templates/koha-conf-site.xml.in >+++ b/debian/templates/koha-conf-site.xml.in >@@ -279,7 +279,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 4c20b0a571..2aefe6a2d1 100644 >--- a/etc/koha-conf.xml >+++ b/etc/koha-conf.xml >@@ -92,7 +92,7 @@ __PAZPAR2_TOGGLE_XML_POST__ > <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.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 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