Merge pull request #2477 from takluyver/i2476

Avoid double-encoding item path for view button
pull/2168/merge
Matthias Bussonnier 9 years ago committed by GitHub
commit c50b47af12

@ -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