新增富文本和头像的对象存储调用
This commit is contained in:
@@ -779,7 +779,7 @@ public class FileUtils extends org.apache.commons.io.FileUtils {
|
||||
String p = StringUtils.replace(path, WIN_SEPARATOR, SEPARATOR);
|
||||
p = StringUtils.join(StringUtils.split(p, SEPARATOR), SEPARATOR);
|
||||
if (!StringUtils.startsWithAny(p, SEPARATOR) && StringUtils.startsWithAny(path, WIN_SEPARATOR, SEPARATOR)){
|
||||
p += SEPARATOR;
|
||||
p = SEPARATOR + p;
|
||||
}
|
||||
if (!StringUtils.endsWithAny(p, SEPARATOR) && StringUtils.endsWithAny(path, WIN_SEPARATOR, SEPARATOR)){
|
||||
p = p + SEPARATOR;
|
||||
|
||||
Reference in New Issue
Block a user