Skip to content

Commit 4255cfe

Browse files
authored
Merge pull request #5720 from Zsailer/download-files-bug
bug fix: remove double encoding in download files
2 parents 2e5cf49 + 45a7616 commit 4255cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebook/static/tree/js/notebooklist.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,10 +1180,10 @@ define([
11801180

11811181
NotebookList.prototype.download_selected = function() {
11821182
var that = this;
1183-
1183+
11841184
that.selected.forEach(function(item) {
11851185
var item_path = utils.encode_uri_components(item.path);
1186-
window.open(utils.url_path_join(that.base_url, 'files', utils.encode_uri_components(item_path)) + '?download=1', IPython._target);
1186+
window.open(utils.url_path_join(that.base_url, 'files', item_path) + '?download=1', IPython._target);
11871187
});
11881188
};
11891189

0 commit comments

Comments
 (0)