Browse Source

Escape search query in list search. Closes #1471.

Kailash Nadh 1 year ago
parent
commit
83c88d73d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/src/views/Lists.vue

+ 1 - 1
frontend/src/views/Lists.vue

@@ -231,7 +231,7 @@ export default Vue.extend({
     getLists() {
       this.$api.queryLists({
         page: this.queryParams.page,
-        query: this.queryParams.query,
+        query: this.queryParams.query.replace(/[^\p{L}\p{N}\s]/gu, ''),
         order_by: this.queryParams.orderBy,
         order: this.queryParams.order,
       }).then((resp) => {