Avoid double-encoding item path for view button

Closes gh-2476
Thomas Kluyver 9 years ago
parent 94a0b8fd27
commit 1d7e6007ba

@ -1026,7 +1026,7 @@ define([
var item_path = utils.encode_uri_components(item.path);
// Handle HTML files differently
var item_type = item_path.endsWith('.html') ? 'view' : 'files';
window.open(utils.url_path_join(that.base_url, item_type, utils.encode_uri_components(item_path)), IPython._target);
window.open(utils.url_path_join(that.base_url, item_type, item_path), IPython._target);
});
};

Loading…
Cancel
Save