1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Remove uneeded patch.

PR:		204670
Submitted by:	ohartman@zedat.fu-berlin.de
This commit is contained in:
Vanilla I. Shu 2015-11-19 05:57:25 +00:00
parent e022bb8856
commit 21b9da16e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401915

View File

@ -1,17 +0,0 @@
Obtained-from: http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2014-7236
--- lib/TWiki/Plugins.pm.save1 2014-01-09 02:10:56.000000000 -0500
+++ lib/TWiki/Plugins.pm 2014-10-01 20:30:36.000000000 -0400
@@ -186,8 +186,11 @@
unless( $allDisabled ) {
if ( $query && defined( $query->param( 'debugenableplugins' ))) {
- @pluginList = split( /[,\s]+/,
- $query->param( 'debugenableplugins' ));
+ @pluginList =
+ grep { /Plugin$/ }
+ map { s/[^a-zA-Z0-9]//go; $_ } # Item7558: Sanitize parameter
+ split( /[,\s]+/, $query->param( 'debugenableplugins' ));
+
} else {
if( $TWiki::cfg{PluginsOrder} ) {
foreach my $plugin( split( /[,\s]+/,