[Mapbender-commits] r4875 - branches/2.6/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Oct 28 10:08:24 EDT 2009


Author: christoph
Date: 2009-10-28 10:08:24 -0400 (Wed, 28 Oct 2009)
New Revision: 4875

Modified:
   branches/2.6/http/extensions/geom2wfst.php
Log:


Modified: branches/2.6/http/extensions/geom2wfst.php
===================================================================
--- branches/2.6/http/extensions/geom2wfst.php	2009-10-28 13:45:19 UTC (rev 4874)
+++ branches/2.6/http/extensions/geom2wfst.php	2009-10-28 14:08:24 UTC (rev 4875)
@@ -26,7 +26,12 @@
 
 $wfs_conf_id = $_POST["wfs_conf_id"];
 $method = $_POST["method"];
-$geoJson = $_POST["geoJson"];
+if (ini_get("magic_quotes_gpc")) {
+	$geoJson = stripslashes($_POST["geoJson"]);
+}
+else {
+	$geoJson = $_POST["geoJson"];
+}
 
 function sendErrorMessage($data) {
 	$resObj = array();



More information about the Mapbender_commits mailing list