1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

repair visit file history bug

This commit is contained in:
shanshuirenjia
2021-08-31 11:28:39 +08:00
parent 4ace0c4061
commit e34e26cab5
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ class URLDecorator {
let params = '';
switch (options.type) {
case 'download_historic_file':
params = 'p=' + options.filePath;
params = 'p=' + Utils.encodePath(options.filePath);
url = siteRoot + 'repo/' + historyRepoID + '/' + options.objID + '/download?' + params;
break;
case 'download_file_url':