Skip to content

Commit

Permalink
Escape search query in list search. Closes #1471.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Aug 27, 2023
1 parent 16eeb94 commit 83c88d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/Lists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 83c88d7

Please sign in to comment.