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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 12 04:36:25 PDT 2019


Author: armin11
Date: 2019-09-12 04:36:25 -0700 (Thu, 12 Sep 2019)
New Revision: 10241

Modified:
   trunk/mapbender/http/classes/class_syncCkan.php
Log:
Fix for using https protocol

Modified: trunk/mapbender/http/classes/class_syncCkan.php
===================================================================
--- trunk/mapbender/http/classes/class_syncCkan.php	2019-09-12 08:52:40 UTC (rev 10240)
+++ trunk/mapbender/http/classes/class_syncCkan.php	2019-09-12 11:36:25 UTC (rev 10241)
@@ -1467,8 +1467,8 @@
 	            $resourcesArray[$indexResourceArray]->id = $row['uuid']."_geoportalrlp";
 	            $resourcesArray[$indexResourceArray]->description = "Ebene: ".$row['layer_title']." - Anzeige im GeoPortal.rlp";
 	            $resourcesArray[$indexResourceArray]->url = $this->mapbenderUrl."/../portal/karten.html?LAYER[zoom]=1&LAYER[id]=".$row['layer_id'];
-//Solve problem - don'Ät use https for invoking mapbender in geoportal 
-$resourcesArray[$indexResourceArray]->url = str_replace("https", "http", $resourcesArray[$indexResourceArray]->url);
+//Solve problem - don't use https for invoking mapbender in geoportal 
+//$resourcesArray[$indexResourceArray]->url = str_replace("https", "http", $resourcesArray[$indexResourceArray]->url);
 	            $resourcesArray[$indexResourceArray]->format = "Webanwendung";				
 	            $indexResourceArray++;
 	            //generate wms capabilities resource 
@@ -1495,7 +1495,7 @@
                     $resourcesArray[$indexResourceArray]->name = "Download (INSPIRE)";//: ".$metadataObject->title;
                     $resourcesArray[$indexResourceArray]->id = $option->serviceUuid;
                     $resourcesArray[$indexResourceArray]->description = "Download von Rasterdaten über INSPIRE ATOM Feed: ".$metadataObject->title;
-                    $resourcesArray[$indexResourceArray]->url = $this->mapbenderUrl."/plugins/mb_downloadFeedClient.php?url=".urlencode(str_replace("https://","http://",$this->mapbenderUrl)."/php/mod_inspireDownloadFeed.php?id=".$metadataUuid."&type=SERVICE&generateFrom=wmslayer&layerid=".$option->resourceId);
+                    $resourcesArray[$indexResourceArray]->url = $this->mapbenderUrl."/plugins/mb_downloadFeedClient.php?url=".urlencode($this->mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$metadataUuid."&type=SERVICE&generateFrom=wmslayer&layerid=".$option->resourceId);
                     $resourcesArray[$indexResourceArray]->format = "Diverse";
 		    //$resourcesArray[$indexResourceArray]->res_transparency_document_change_classification = "unaltered";
                     $indexResourceArray++;



More information about the Mapbender_commits mailing list