[Mapbender-commits] r9780 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Sep 27 04:40:28 PDT 2017
Author: armin11
Date: 2017-09-27 04:40:28 -0700 (Wed, 27 Sep 2017)
New Revision: 9780
Modified:
trunk/mapbender/http/php/mod_inspireDownloadFeed.php
Log:
Fix for using different wfs outputFormat in ATOM Feed generator
Modified: trunk/mapbender/http/php/mod_inspireDownloadFeed.php
===================================================================
--- trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2017-09-18 15:05:47 UTC (rev 9779)
+++ trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2017-09-27 11:40:28 UTC (rev 9780)
@@ -1731,7 +1731,7 @@
$feedEntryCopyXml = $feedDoc->saveXML($feedEntry);
//exchange formats
$feedEntryCopyXml = str_replace($mapbenderMetadata[$i]->output_formats[0],$mapbenderMetadata[$i]->output_formats[$j],$feedEntryCopyXml);
- $feedEntryCopyXml = str_replace(urlencode($mapbenderMetadata[$i]->output_formats[0]),$mapbenderMetadata[$i]->output_formats[$j],$feedEntryCopyXml);
+ $feedEntryCopyXml = str_replace(rawurlencode($mapbenderMetadata[$i]->output_formats[0]),rawurlencode($mapbenderMetadata[$i]->output_formats[$j]),$feedEntryCopyXml);
$feedEntryCopyXmlDOM = $feedDoc->createDocumentFragment();
$feedEntryCopyXmlDOM->appendXML($feedEntryCopyXml);
$feed->appendChild($feedEntryCopyXmlDOM);
More information about the Mapbender_commits
mailing list