From 9c26405ebe1deb5caaf4cfc7b64761930f10d1f6 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Fri, 6 Feb 2015 16:23:16 +0100 Subject: [PATCH] Prevent duplicate params with a different case --- lib/mapstory/MapConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mapstory/MapConfig.js b/lib/mapstory/MapConfig.js index cc932f7..30e0478 100644 --- a/lib/mapstory/MapConfig.js +++ b/lib/mapstory/MapConfig.js @@ -37,6 +37,7 @@ exports.MapConfig = function() { for (var key in params) { if (angular.isArray(params[key])) { params[key.toUpperCase()] = params[key].join(','); + delete params[key]; } } layerConfig.url = layer.args[1];