Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Escape search query in list search. Closes #1471.

Kailash Nadh83c88d73d793
diff --git a/frontend/src/views/Lists.vue b/frontend/src/views/Lists.vue
index 8bce9548..c5bc86a8 100644
--- a/frontend/src/views/Lists.vue
+++ b/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) => {