From 7d6c5410c45dfb05010ad2215df3d825bd6924c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Wed, 17 Jan 2018 02:00:45 +0100 Subject: [PATCH] Fix encoding of tags in AJAX request URI --- static/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/main.js b/static/main.js index 008ff31..686da11 100644 --- a/static/main.js +++ b/static/main.js @@ -155,7 +155,7 @@ function addKeyListeners() { selectedTags.splice(i, 1); if (selectedTags.length > 0) { - ajaxRequest("/tags/" + selectedTags.join(), function() { + ajaxRequest("/tags/" + encodeURI(selectedTags.join()), function() { tagFilter(JSON.parse(this.responseText)); }); } else {