Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove double encoding (#4671)

Patrick Mouldenc4e392d4ab7c
diff --git a/web/js/modules/layers/util.js b/web/js/modules/layers/util.js
index 7765c416e..81c77ca20 100644
--- a/web/js/modules/layers/util.js
+++ b/web/js/modules/layers/util.js
@@ -843,7 +843,7 @@ export function serializeLayers(layers, state, groupName) {
const bandComboString = JSON.stringify(def.bandCombo).replaceAll('(', '<').replaceAll(')', '>');
item.attributes.push({
id: 'bandCombo',
- value: encodeURIComponent(bandComboString),
+ value: bandComboString,
});
}
if (def.palette && (def.custom || def.min || def.max || def.squash || def.disabled)) {