diff --git a/DynmapCore/src/main/resources/extracted/web/js/markers.js b/DynmapCore/src/main/resources/extracted/web/js/markers.js index 33a7e1dc..42742f1a 100644 --- a/DynmapCore/src/main/resources/extracted/web/js/markers.js +++ b/DynmapCore/src/main/resources/extracted/web/js/markers.js @@ -27,7 +27,7 @@ componentconstructors['markers'] = function(dynmap, configuration) { function loadmarkers(world) { removeAllMarkers(); - var url = concatURL(dynmap.options.url.markers, '_markers_/marker_'+world+'.json'); + var url = concatURL(dynmap.options.url.markers, '_markers_/marker_' + encodeURIComponent(world) + '.json'); $.getJSON(url, function(data) { var ts = data.timestamp;