[Mapbender-commits] r10369 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Dec 13 04:41:16 PST 2019


Author: armin11
Date: 2019-12-13 04:41:15 -0800 (Fri, 13 Dec 2019)
New Revision: 10369

Modified:
   trunk/mapbender/http/classes/class_wmc.php
Log:
Fix for layer title with ' in old wmc

Modified: trunk/mapbender/http/classes/class_wmc.php
===================================================================
--- trunk/mapbender/http/classes/class_wmc.php	2019-12-09 13:24:44 UTC (rev 10368)
+++ trunk/mapbender/http/classes/class_wmc.php	2019-12-13 12:41:15 UTC (rev 10369)
@@ -636,7 +636,7 @@
 		while($row = db_fetch_array($res)){
 			$wmsId = $row["fkey_wms_id"];
 			$layerId = $row["layer_id"];
-			$layerTitle = $row["layer_title"];
+			$layerTitle = addslashes($row["layer_title"]);
 			$e = new mb_notice("class_wmc.php - updateUrlsInDb - following layer will be processed: ".$layerId);
 			$layerName = $row["layer_name"];
 			//xpath to pull a special wmc layer object from simple xml object



More information about the Mapbender_commits mailing list