Skip to content

Commit 83c88d7

Browse files
committed
Escape search query in list search. Closes #1471.
1 parent 16eeb94 commit 83c88d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/Lists.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export default Vue.extend({
231231
getLists() {
232232
this.$api.queryLists({
233233
page: this.queryParams.page,
234-
query: this.queryParams.query,
234+
query: this.queryParams.query.replace(/[^\p{L}\p{N}\s]/gu, ''),
235235
order_by: this.queryParams.orderBy,
236236
order: this.queryParams.order,
237237
}).then((resp) => {

0 commit comments

Comments
 (0)