summaryrefslogtreecommitdiff
path: root/www/phpsysinfo/files/patch-xss-fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpsysinfo/files/patch-xss-fix.diff')
-rw-r--r--www/phpsysinfo/files/patch-xss-fix.diff11
1 files changed, 0 insertions, 11 deletions
diff --git a/www/phpsysinfo/files/patch-xss-fix.diff b/www/phpsysinfo/files/patch-xss-fix.diff
deleted file mode 100644
index 4f525c29253b..000000000000
--- a/www/phpsysinfo/files/patch-xss-fix.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- includes/system_footer.php.orig Tue Jul 31 10:35:50 2007
-+++ includes/system_footer.php Tue Jul 31 10:35:52 2007
-@@ -29,7 +29,7 @@
-
- if( ! $hide_picklist ) {
- echo "<center>\n";
-- $update_form = "<form method=\"POST\" action=\"" . $_SERVER['PHP_SELF'] . "\">\n" . "\t" . $text['template'] . ":&nbsp;\n" . "\t<select name=\"template\">\n";
-+ $update_form = "<form method=\"POST\" action=\"" . htmlentities(strip_tags($_SERVER['PHP_SELF'])) . "\">\n" . "\t" . $text['template'] . ":&nbsp;\n" . "\t<select name=\"template\">\n";
-
- $resDir = opendir( APP_ROOT . '/templates/' );
- while( false !== ( $strFile = readdir( $resDir ) ) ) {