[Mapbender-commits] r1588 - trunk/mapbender/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Aug 6 03:59:41 EDT 2007


Author: christoph
Date: 2007-08-06 03:59:40 -0400 (Mon, 06 Aug 2007)
New Revision: 1588

Modified:
   trunk/mapbender/http/extensions/ext_featureInfoTunnel.php
   trunk/mapbender/http/extensions/markResult.php
Log:
replaced old string functions by multibyte string function

Modified: trunk/mapbender/http/extensions/ext_featureInfoTunnel.php
===================================================================
--- trunk/mapbender/http/extensions/ext_featureInfoTunnel.php	2007-08-06 07:58:30 UTC (rev 1587)
+++ trunk/mapbender/http/extensions/ext_featureInfoTunnel.php	2007-08-06 07:59:40 UTC (rev 1588)
@@ -21,7 +21,7 @@
 require_once("../classes/class_connector.php");
 $mr = new stripRequest(urldecode($_REQUEST["url"]));
 $nmr = $mr->encodeGET();
-$isOwsproxyRequest = (strpos($nmr,OWSPROXY) === 0);
+$isOwsproxyRequest = (mb_strpos($nmr,OWSPROXY) === 0);
 if($isOwsproxyRequest){
 	header("Location: ".$nmr);
 }

Modified: trunk/mapbender/http/extensions/markResult.php
===================================================================
--- trunk/mapbender/http/extensions/markResult.php	2007-08-06 07:58:30 UTC (rev 1587)
+++ trunk/mapbender/http/extensions/markResult.php	2007-08-06 07:59:40 UTC (rev 1588)
@@ -38,7 +38,7 @@
 }
 
 if(!$_REQUEST["color"]){ $color = "255,0,0"; }
-$myCol = split(",", $color);
+$myCol = mb_split(",", $color);
 
 $image = imagecreate($width,$height);
 



More information about the Mapbender_commits mailing list