diff --git a/templates/index.html b/templates/index.html index 98e76ac..91482f7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -166,7 +166,7 @@ container.innerHTML = '
Select a domain
'; return; } - path = 'domains/' + currentDomain + '/' + currentInterval; + path = 'domains/' + encodeURIComponent(currentDomain) + '/' + currentInterval; } fetch(path + '/reports.json')