[Mapbender-commits] r7234 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Dec 11 11:01:43 EST 2010


Author: apour
Date: 2010-12-11 08:01:43 -0800 (Sat, 11 Dec 2010)
New Revision: 7234

Modified:
   trunk/mapbender/http/php/mod_deleteWFS.php
   trunk/mapbender/http/php/mod_loadWFSCapabilities.php
   trunk/mapbender/http/php/mod_orphanWMS.php
Log:
security patch irv done

Modified: trunk/mapbender/http/php/mod_deleteWFS.php
===================================================================
--- trunk/mapbender/http/php/mod_deleteWFS.php	2010-12-11 15:38:16 UTC (rev 7233)
+++ trunk/mapbender/http/php/mod_deleteWFS.php	2010-12-11 16:01:43 UTC (rev 7234)
@@ -18,23 +18,27 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 #session_start();
+
 $e_id="deleteWFS";
-
+$gui_id = Mapbender::session()->get("mb_user_gui");
 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"); 
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
 #require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 #$con = db_connect($DBSERVER,$OWNER,$PW);
 #db_select_db(DB,$con);
 #require_once(dirname(__FILE__)."/../classes/class_administration.php");
 #$admin = new administration();
 #$ownguis = $admin->getGuisByOwner($_SESSION["mb_user_id"],true);
-$gui_id = Mapbender::session()->get("mb_user_gui");
+
+$wfsList = $_POST["wfsList"];
+$del = $_POST["del"];
+
 ?>
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_loadWFSCapabilities.php
===================================================================
--- trunk/mapbender/http/php/mod_loadWFSCapabilities.php	2010-12-11 15:38:16 UTC (rev 7233)
+++ trunk/mapbender/http/php/mod_loadWFSCapabilities.php	2010-12-11 16:01:43 UTC (rev 7234)
@@ -17,14 +17,18 @@
 # 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="loadWFS";
 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="loadWFS";
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
 
+$guiList = $_POST["guiList"];
+$wfsList = $_POST["wfsList"];
+$xml_file = $_POST["xml_file"];
+
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_orphanWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_orphanWMS.php	2010-12-11 15:38:16 UTC (rev 7233)
+++ trunk/mapbender/http/php/mod_orphanWMS.php	2010-12-11 16:01:43 UTC (rev 7234)
@@ -17,14 +17,17 @@
 # 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="orphanWMS";
 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="orphanWMS";
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+$wmsList = $_POST["wmsList"];
+$del = $_POST["del"];
 
+
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



More information about the Mapbender_commits mailing list