Fix the error of: 1. make download file with real file-name avaliable, 2. fix some signature error if sign url on AWS v4 at cdn sides, etc., rather than Cloudreve.
This commit is contained in:
parent
88409cc1f0
commit
794c8d6338
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ func (handler *Driver) signSourceURL(ctx context.Context, path string, ttl int64
|
|||
finalURL.Scheme = cdnURL.Scheme
|
||||
}
|
||||
|
||||
return finalURL.String(), nil
|
||||
return strings.Replace(finalURL.String(), "%2F", "/", -1), nil
|
||||
}
|
||||
|
||||
// Token 获取上传策略和认证Token
|
||||
|
|
Loading…
Add table
Reference in a new issue