mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
✨ 服务器代理上传支持特殊字符的文件名,如 #
This commit is contained in:
@@ -82,7 +82,8 @@ public abstract class ProxyTransferService<P extends ProxyTransferParam> extends
|
||||
public String getUploadUrl(String path, String name, Long size) {
|
||||
String domain = systemConfigService.getDomain();
|
||||
String storageKey = storageSourceService.findKeyById(storageId);
|
||||
return StringUtils.concat(domain, PROXY_UPLOAD_LINK_PREFIX, storageKey, path, name);
|
||||
String pathAndName = StringUtils.concat(true, path, name);
|
||||
return StringUtils.concat(domain, PROXY_UPLOAD_LINK_PREFIX, storageKey, pathAndName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user