summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-12-23 10:09:49 -0500
committerjim-p <jimp@pfsense.org>2015-12-23 10:09:49 -0500
commit4ee63405fde1a1f095cca3e16760accdc7a163c7 (patch)
treeaf1600e2b0834b80e3dab152ee7c35d2b310d9f6 /src/usr/local/www/diag_backup.php
parentf457518994adc716929d96c33cd9706915a8f396 (diff)
downloadpfsense-4ee63405fde1a1f095cca3e16760accdc7a163c7.zip
pfsense-4ee63405fde1a1f095cca3e16760accdc7a163c7.tar.gz
Take this conditional out, it wasn't enough, and we have a script example for how to handle this properly now while respecting CSRF
Diffstat (limited to 'src/usr/local/www/diag_backup.php')
-rw-r--r--src/usr/local/www/diag_backup.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php
index e961a81..bcf3619 100644
--- a/src/usr/local/www/diag_backup.php
+++ b/src/usr/local/www/diag_backup.php
@@ -69,9 +69,6 @@ ini_set('max_input_time', '0');
/* omit no-cache headers because it confuses IE with file downloads */
$omit_nocacheheaders = true;
-if (stristr($_POST['Submit'], gettext("Download"))) {
- $nocsrf = true;
-}
require("guiconfig.inc");
require_once("functions.inc");
require_once("filter.inc");
OpenPOWER on IntegriCloud