[Koha-bugs] [Bug 25370] Create allowlist of plugins allowed to be installed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 9 04:23:38 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25370

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
This looks a bit tougher than I was thinking but should still be doable...

I think if I do a Module::Pluggable search for "Koha::Plugin" in between these
following two lines and then compare to an allowlist... that should do the
trick.

my $ae = Archive::Extract->new( archive => $tempfile, type => 'zip' );
unless ( $ae->extract( to => $plugins_dir ) ) {

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list