summaryrefslogtreecommitdiffstats
path: root/src/App.vue
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-10-01 22:11:16 +0200
committerCyrille Bollu <cyrpub@bollu.be>2019-10-02 16:04:29 +0200
commiteca50cd1680d203da5039ffab6edba274532808e (patch)
tree088b41948f2a365e43e9fd582b634ac4a6d1fa84 /src/App.vue
parenta000613e55c5959e3c0438fd7a3346e277f3694b (diff)
FIX: Encode search terms before creating the search URL
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 51287119..8f9fa008 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -225,6 +225,7 @@ export default {
})
},
search(term) {
+ term = encodeURIComponent(term)
this.searchTerm = term
},
resetSearch() {