This commit is contained in:
Looly
2022-04-07 00:16:35 +08:00
parent d415696e01
commit 449ec53da2
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
-------------------------------------------------------------------------------------------------------------
# 5.8.0.M3 (2022-04-06)
# 5.8.0.M3 (2022-04-07)
### ❌不兼容特性
@@ -14,6 +14,7 @@
### 🐞Bug修复
* 【core 】 修复UserAgentUtil识别Linux出错(issue#I50YGY@Gitee)
* 【poi 】 修复ExcelWriter.getDisposition方法生成错误(issue#2239@Github)
-------------------------------------------------------------------------------------------------------------
@@ -373,7 +373,7 @@ public class ExcelWriter extends ExcelBase<ExcelWriter> {
}
fileName = StrUtil.addSuffixIfNot(URLUtil.encodeAll(fileName, charset), isXlsx() ? ".xlsx" : ".xls");
return StrUtil.format("attachment; filename=\"{}\"; filename*={}''{}", fileName, charset.name(), fileName);
return StrUtil.format("attachment; filename=\"{}\";", fileName);
}
/**
@@ -877,4 +877,8 @@ public class ExcelWriteTest {
writer.close();
}
@Test
public void getDispositionTest(){
}
}