Skip to content

Commit 2cfff07

Browse files
authored
Fix Handling of Encoded Paths in Save As Dialog (#6030)
1 parent 7e8fb1a commit 2cfff07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notebook/static/notebook/js/notebook.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2867,6 +2867,7 @@ define([
28672867
var that = this;
28682868
var current_dir = $('body').attr('data-notebook-path').split('/').slice(0, -1).join("/");
28692869
current_dir = current_dir? current_dir + "/": "";
2870+
current_dir = decodeURIComponent(current_dir);
28702871
var dialog_body = $('<div/>').append(
28712872
$('<p/>').addClass('save-message')
28722873
.text(i18n.msg._('Enter a notebook path relative to notebook dir'))

0 commit comments

Comments
 (0)