From 7fa7c55147f0d8f34c308edb84e40eccf238cbc0 Mon Sep 17 00:00:00 2001 From: MattiasSp Date: Mon, 30 Sep 2024 10:34:16 +0200 Subject: [PATCH] Fixed urlParameters cloning error --- src/infowindow_exporthandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infowindow_exporthandler.js b/src/infowindow_exporthandler.js index 550bae5f3..bfb127684 100644 --- a/src/infowindow_exporthandler.js +++ b/src/infowindow_exporthandler.js @@ -126,7 +126,7 @@ export function layerSpecificExportHandler(url, requestMethod, urlParameters, ac // the list will be separated by semicolons. // Specifying a value as "{{no_value}}" will add a valueless parameter, e g "?Param1&Param2&etc". let requestUrl = url; - const requestParams = urlParameters; + const requestParams = { ...urlParameters }; if (requestParams) { Object.keys(requestParams).forEach((param) => { if (requestParams[param] && typeof requestParams[param] === 'object' && requestParams[param].attribute) {