Project

General

Profile

« Previous | Next » 

Revision 6fda15a9

Added by Darren Embry almost 13 years ago

fix for: Output from CSRF magic mangles files in Diagnostics > Edit File

http://redmine.pfsense.org/issues/2294

View differences:

usr/local/www/edit.php
36 36
##|*MATCH=edit.php*
37 37
##|-PRIV
38 38

  
39
if($_REQUEST['action'] === "load" || $_REQUEST['action'] === "save")
40
	$nocsrf = true;
41

  
39 42
$pgtitle = array(gettext("Diagnostics"), gettext("Edit file"));
40 43
require("guiconfig.inc");
41 44

  

Also available in: Unified diff