From bf462cbcb2f06a1a502a82cd502c720188ec78aa Mon Sep 17 00:00:00 2001 From: Nazareno Bucciarelli Date: Wed, 13 May 2026 18:11:47 -0300 Subject: [PATCH] add blob supported protocol --- src/documentViewer/ipc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documentViewer/ipc.ts b/src/documentViewer/ipc.ts index cd30b1377b..69aac51615 100644 --- a/src/documentViewer/ipc.ts +++ b/src/documentViewer/ipc.ts @@ -11,7 +11,7 @@ export const startDocumentViewerHandler = (): void => { 'document-viewer/open-window', async (event, url, format, _options) => { const validUrl = new URL(url); - const allowedProtocols = ['http:', 'https:']; + const allowedProtocols = ['http:', 'https:', 'blob:']; if (!allowedProtocols.includes(validUrl.protocol)) { return; }