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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Feb 14 04:04:14 PST 2018


Author: armin11
Date: 2018-02-14 04:04:14 -0800 (Wed, 14 Feb 2018)
New Revision: 9864

Modified:
   trunk/mapbender/http/classes/class_syncCkan.php
Log:
Fix - set iframe url to https for ckan sync

Modified: trunk/mapbender/http/classes/class_syncCkan.php
===================================================================
--- trunk/mapbender/http/classes/class_syncCkan.php	2018-02-14 11:56:02 UTC (rev 9863)
+++ trunk/mapbender/http/classes/class_syncCkan.php	2018-02-14 12:04:14 UTC (rev 9864)
@@ -1119,6 +1119,8 @@
 	} else {
 	    $mapbenderUrl = "http://www.geoportal.rlp.de/mapbender";
 	}
+	//alter protocol to https ;-)
+	$mapbenderUrl = str_replace("http://", "https://", $mapbenderUrl);
 	//all or only those which have standardized licenses?
 	//$sql = "SELECT *, f_get_coupled_resources(metadata_id) from mb_metadata LEFT JOIN md_termsofuse ON mb_metadata.metadata_id = md_termsofuse.fkey_metadata_id WHERE mb_metadata.uuid = $1";
 	//$sql = "SELECT * , st_asgeojson(the_geom) as geojson from mb_metadata JOIN md_termsofuse ON mb_metadata.metadata_id = md_termsofuse.fkey_metadata_id JOIN termsofuse ON md_termsofuse.fkey_termsofuse_id = termsofuse.termsofuse_id WHERE mb_metadata.uuid = $1 AND export2csw IS true";



More information about the Mapbender_commits mailing list