Skip to content

Commit f290a1d

Browse files
Backport PR #7698: Fix open file with “#” in the filename (#7699)
Co-authored-by: Vishnutheep B <[email protected]>
1 parent f34aad5 commit f290a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/application/src/pathopener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class DefaultNotebookPathOpener implements INotebookPathOpener {
1515
open(options: INotebookPathOpener.IOpenOptions): WindowProxy | null {
1616
const { prefix, path, searchParams, target, features } = options;
1717
const url = new URL(
18-
URLExt.join(prefix, path ?? ''),
18+
URLExt.join(prefix, URLExt.encodeParts(path ?? '')),
1919
window.location.origin
2020
);
2121
if (searchParams) {

0 commit comments

Comments
 (0)