From d857479feb805f5c15247686e0a0139c54e2d770 Mon Sep 17 00:00:00 2001 From: Olivia Guyot Date: Mon, 31 Jul 2023 14:47:41 +0200 Subject: [PATCH] =?UTF-8?q?Support=20http=20links=20in=20the=20G=C3=A9o-ID?= =?UTF-8?q?E=20transformation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This simple change makes it so that links specified using the `http://` protocol are automatically upgraded to `https://`, for which there is already a redirection on the Géo-IDE side. Handling this upgrade during harvesting avoids getting a 301 redirection later on when downloading the data for the datahub, as the 301 redirection will bypass the proxy and make a CORS error show up. --- .../main/webapp/xsl/conversion/import/GeoIDE-services-OGC.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/main/webapp/xsl/conversion/import/GeoIDE-services-OGC.xsl b/web/src/main/webapp/xsl/conversion/import/GeoIDE-services-OGC.xsl index f1619a2c8c..570e94473a 100644 --- a/web/src/main/webapp/xsl/conversion/import/GeoIDE-services-OGC.xsl +++ b/web/src/main/webapp/xsl/conversion/import/GeoIDE-services-OGC.xsl @@ -12,7 +12,7 @@ - +