From 3ee577cc725c96042b842949a0441c390e7c9f33 Mon Sep 17 00:00:00 2001 From: Vishnutheep B Date: Tue, 12 Aug 2025 11:19:13 +0530 Subject: [PATCH] =?UTF-8?q?Backport=20PR=20#7698:=20Fix=20open=20file=20wi?= =?UTF-8?q?th=20=E2=80=9C#=E2=80=9D=20in=20the=20filename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/application/src/pathopener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/application/src/pathopener.ts b/packages/application/src/pathopener.ts index 5dd9f2c72c..bf54c3d53f 100644 --- a/packages/application/src/pathopener.ts +++ b/packages/application/src/pathopener.ts @@ -15,7 +15,7 @@ class DefaultNotebookPathOpener implements INotebookPathOpener { open(options: INotebookPathOpener.IOpenOptions): WindowProxy | null { const { prefix, path, searchParams, target, features } = options; const url = new URL( - URLExt.join(prefix, path ?? ''), + URLExt.join(prefix, URLExt.encodeParts(path ?? '')), window.location.origin ); if (searchParams) {