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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 31 00:30:09 PDT 2019


Author: armin11
Date: 2019-07-31 00:30:09 -0700 (Wed, 31 Jul 2019)
New Revision: 10190

Modified:
   trunk/mapbender/http/classes/class_wfs.php
Log:
Fix for urlencode wfs filter

Modified: trunk/mapbender/http/classes/class_wfs.php
===================================================================
--- trunk/mapbender/http/classes/class_wfs.php	2019-07-31 07:01:29 UTC (rev 10189)
+++ trunk/mapbender/http/classes/class_wfs.php	2019-07-31 07:30:09 UTC (rev 10190)
@@ -539,7 +539,7 @@
 		"service=WFS&request=GetFeature&version=" . 
 		$this->getVersion() . "&".strtolower($typeNameParameterName)."=" . $featureTypeName."&resultType=hits";
 		if ($filter != null) {
-			$url .= "&FILTER=".$filter;
+			$url .= "&FILTER=".urlencode($filter);
 		}
                 //$e = new mb_exception("class_wfs.php: getFeatureGet: ".$url);
 		//auth is already integrated in ows class



More information about the Mapbender_commits mailing list