From 764dc84da923e639abef1d6b51fb67189c25c084 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 21 Oct 2023 22:20:17 -0400 Subject: [PATCH] test --- shared/utils/urls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/utils/urls.ts b/shared/utils/urls.ts index fa99f17d4..73adb45b0 100644 --- a/shared/utils/urls.ts +++ b/shared/utils/urls.ts @@ -93,7 +93,7 @@ export function isExternalUrl(url: string) { * @returns A RegExp match if the url is base64, false otherwise. */ export function isBase64Url(url: string) { - const match = url.match(/^(data:[a-z]+\/[^;]+;base64,(.*))/i); + const match = url.match(/^data:([a-z]+\/[^;]+);base64,(.*)/i); return match ? match : false; }