Copy shareable link command encodes the url properly when file have a blank space in the name. ✅ Closes: #9953
@@ -435,14 +435,13 @@ const shareFile: JupyterFrontEndPlugin<void> = {
if (!model) {
return;
}
- const path = encodeURI(model.path);
Clipboard.copyToSystem(
URLExt.normalize(
PageConfig.getUrl({
mode: 'single-document',
workspace: PageConfig.defaultWorkspace,
- treePath: path
+ treePath: model.path
})
)
);