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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Dec 11 01:50:05 PST 2014


Author: armin11
Date: 2014-12-11 01:50:05 -0800 (Thu, 11 Dec 2014)
New Revision: 9130

Modified:
   trunk/mapbender/http/classes/class_weldMaps2Image.php
Log:
Fix bug when layernames has a colon symbol - for module exportMapImage

Modified: trunk/mapbender/http/classes/class_weldMaps2Image.php
===================================================================
--- trunk/mapbender/http/classes/class_weldMaps2Image.php	2014-11-25 14:20:43 UTC (rev 9129)
+++ trunk/mapbender/http/classes/class_weldMaps2Image.php	2014-12-11 09:50:05 UTC (rev 9130)
@@ -62,13 +62,12 @@
 		ImageFilledRectangle($image,0,0,$width,$height,$white); 
 	
 		for($i=0; $i<count($this->urls); $i++){
-			$obj = new stripRequest($this->urls[$i]);
+			$obj = new stripRequest(urldecode($this->urls[$i]));
 			if($imageTyp=='geotiff'){
 				$this->urls[$i] = $obj->setFormat($wms_format);
 			} else {
 				$this->urls[$i] = $obj->setFormat($imageTyp);	
 			}	
-			
 			$this->urls[$i] = $obj->encodeGET();			
 			$img = $this->loadImage($this->urls[$i]);				
 			if($img != false){



More information about the Mapbender_commits mailing list