From 3a0f6c992f41d772a37d71545e1a156f9f0791c8 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Wed, 6 Nov 2024 11:55:52 -0600 Subject: [PATCH] fix: sanitize error message (#195) --- error.vue | 23 +++++++++++++++++++---- package-lock.json | 18 ++++++++++++++++++ package.json | 4 +++- types/dompurify.d.ts | 1 + 4 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 types/dompurify.d.ts diff --git a/error.vue b/error.vue index 75884ba6b..64983a158 100644 --- a/error.vue +++ b/error.vue @@ -3,7 +3,7 @@

{{ error.statusCode }}

-

{{ error.message }}

+

{{ sanitizedErrorMessage }}

Back to Bridge @@ -12,14 +12,29 @@