[Mapbender-commits] r7269 - in trunk/mapbender: core http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 05:17:52 EST 2010


Author: apour
Date: 2010-12-12 02:17:52 -0800 (Sun, 12 Dec 2010)
New Revision: 7269

Modified:
   trunk/mapbender/core/system.php
   trunk/mapbender/http/php/mod_gui_filteredGroup.php
Log:
done

Modified: trunk/mapbender/core/system.php
===================================================================
--- trunk/mapbender/core/system.php	2010-12-12 10:14:44 UTC (rev 7268)
+++ trunk/mapbender/core/system.php	2010-12-12 10:17:52 UTC (rev 7269)
@@ -120,7 +120,7 @@
    $$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);
+		fwrite($h,"\n".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);
 	}
 }

Modified: trunk/mapbender/http/php/mod_gui_filteredGroup.php
===================================================================
--- trunk/mapbender/http/php/mod_gui_filteredGroup.php	2010-12-12 10:14:44 UTC (rev 7268)
+++ trunk/mapbender/http/php/mod_gui_filteredGroup.php	2010-12-12 10:17:52 UTC (rev 7269)
@@ -16,14 +16,19 @@
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+$e_id="gui_filteredGroup";
 require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 /*
- * @security_patch irv open
+ * @security_patch irv done
  */
-security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
-$e_id="gui_filteredGroup";
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+
+$postvars = explode(",", "selected_gui,selected_group,insert,remove,remove_group");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>



More information about the Mapbender_commits mailing list