This commit is contained in:
Darren Yu 2023-11-25 06:48:24 +00:00 committed by GitHub
commit f91cc376ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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