1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

Merge branch '8.0'

This commit is contained in:
王健辉
2021-09-29 11:02:02 +08:00
11 changed files with 95 additions and 62 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':