diff options
author | jim-p <jimp@pfsense.org> | 2015-12-23 10:09:49 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-12-23 10:09:49 -0500 |
commit | 4ee63405fde1a1f095cca3e16760accdc7a163c7 (patch) | |
tree | af1600e2b0834b80e3dab152ee7c35d2b310d9f6 /src/usr/local/www/diag_backup.php | |
parent | f457518994adc716929d96c33cd9706915a8f396 (diff) | |
download | pfsense-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.php | 3 |
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"); |