Skip to content

Commit

Permalink
Fix URL encoding for disabled layers in image utility function
Browse files Browse the repository at this point in the history
  • Loading branch information
PatchesMaps committed Dec 24, 2024
1 parent 3553c9a commit 4e554ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/modules/image-download/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function imageUtilGetLayers(products, proj, activePalettes) {
}
const disabled = activePalettes?.[layer.id]?.maps?.[0]?.disabled;
if (Array.isArray(disabled)) {
return `${layerId}(disabled=${disabled.join('-')})`;
return `${layerId}%28disabled=${disabled.join('-')}%29`;
}
return layerId;
});
Expand Down

0 comments on commit 4e554ba

Please sign in to comment.