[Mapbender-commits] r7259 - trunk/mapbender/core

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 04:56:38 EST 2010


Author: apour
Date: 2010-12-12 01:56:38 -0800 (Sun, 12 Dec 2010)
New Revision: 7259

Modified:
   trunk/mapbender/core/system.php
Log:
bugfix

Modified: trunk/mapbender/core/system.php
===================================================================
--- trunk/mapbender/core/system.php	2010-12-12 09:55:54 UTC (rev 7258)
+++ trunk/mapbender/core/system.php	2010-12-12 09:56:38 UTC (rev 7259)
@@ -114,12 +114,12 @@
 	$h = fopen(dirname(__FILE__)."/../log/security_patch.log","a+");
 	if($h) {
                 $post_out = '
-                --------------------------------------------------------
-                $postvars = explode(",", "'.implode(",",array_keys($_POST)).'");
-                foreach ($postvars as $value) {
-                   $$value = $_POST[$value];
-                }
-                --------------------------------------------------------';
+--------------------------------------------------------
+$postvars = explode(",", "'.implode(",",array_keys($_POST)).'");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
+--------------------------------------------------------';
 		fwrite($h,date("Y.m.d H:i")." FILE : ".$file." | LINE : ".$line." | POST : ".implode(",",array_keys($_POST))." | GET : ".implode(",",array_keys($_GET))." | FILE : ".implode(",",array_keys($_FILE))." |\n".$post_out);
 		fclose($h);
 	}



More information about the Mapbender_commits mailing list