[Mapbender-commits] r7332 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Dec 17 09:48:05 EST 2010
Author: christoph
Date: 2010-12-17 06:48:05 -0800 (Fri, 17 Dec 2010)
New Revision: 7332
Modified:
trunk/mapbender/http/php/mod_createJSObjFromXML.php
Log:
no base64 decoding. Alternative: Make it configurable
Modified: trunk/mapbender/http/php/mod_createJSObjFromXML.php
===================================================================
--- trunk/mapbender/http/php/mod_createJSObjFromXML.php 2010-12-17 14:42:07 UTC (rev 7331)
+++ trunk/mapbender/http/php/mod_createJSObjFromXML.php 2010-12-17 14:48:05 UTC (rev 7332)
@@ -33,7 +33,8 @@
#$e = new mb_exception("mod_createJSObjFromXML: CapUrl encoded to load: ".$capabilitiesURL);
$caps = $capabilitiesURL;
#$e = new mb_exception("mod_createJSObjFromXML: CapUrl decodes to load: ".$caps);
-$caps = html_entity_decode(base64_decode($_REQUEST['caps']));
+$caps = html_entity_decode($_REQUEST['caps']);
+//$caps = html_entity_decode(base64_decode($_REQUEST['caps']));
$mywms->createObjFromXML($caps);
$errorMessage = _mb("Error: The Capabilities Document could not be accessed. " .
More information about the Mapbender_commits
mailing list