ian.zhang
4629a28428
Fix the contentType issue
...
Raise the PR to fix the sample issue by incorrect content type.
By given sample, we will get a xls type excel even set excelType(ExcelTypeEnum.XLSX), which will open with an alert even the file encoding is based on xlsx.
"The file format and extension of 'xxx' don't match. The file could be corrupted of unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?"
The root cause is from incorrect content type. it will be fine if set the content type based on xlsx as below
response.setContentType("vnd.openxmlformats-officedocument.spreadsheetml.sheet")
Reference:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
.xls Microsoft Excel application/vnd.ms-excel
.xlsx Microsoft Excel (OpenXML) application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
4 years ago
Jiaju Zhuang
e18841e7d2
Merge pull request #1557 from alibaba/developing
...
修改demo safari浏览器中文乱码的bug
4 years ago
Jiaju Zhuang
d37b87238a
修改demo safari浏览器中文乱码的bug
4 years ago
Jiaju Zhuang
40b563cb1f
Merge pull request #1556 from alibaba/developing
...
Developing
4 years ago
Jiaju Zhuang
2c1a337e55
修改demo safari浏览器中文乱码的bug
4 years ago
Jiaju Zhuang
ce69683a7a
修改demo safari浏览器中文乱码的bug
4 years ago
fanfanyimeng
5de67db8cd
修复部分情况自动去除空格无效的问题
...
当不是从sharedStrings.xml取到的string时,代码未执行去除空格。
4 years ago
Zebulon Feng
a65c4de055
修改错别字,修改句子使其通顺
4 years ago
Zebulon Feng
1a6bb95a17
修改错别字,修改句子使其通顺
4 years ago
Jiaju Zhuang
3111cbedd0
Merge pull request #1424 from alibaba/developing
...
Developing
4 years ago
Jiaju Zhuang
417154be9a
Merge remote-tracking branch 'origin/master' into developing
4 years ago
Jiaju Zhuang
f74c8299e9
修改跳着读取03版本空指针bug
4 years ago
Jiaju Zhuang
088ebe4ece
升级fastjson版本
5 years ago
Jiaju Zhuang
0eca95dfc6
升级fastjson版本
5 years ago
Jiaju Zhuang
7485dc2277
`ExcelProperty`新增`order` 用于排序
5 years ago
Jiaju Zhuang
53307ecfbc
Merge pull request #1409 from alibaba/developing
...
Developing
5 years ago
Jiaju Zhuang
ab07bbeb86
`ExcelProperty`新增`order` 用于排序
5 years ago
Jiaju Zhuang
ee4e5f5299
`ExcelProperty`新增`order` 用于排序
5 years ago
Jiaju Zhuang
d7bfe991b7
修改测试案例
5 years ago
Jiaju Zhuang
6b738080cc
修改测试案例
5 years ago
Jiaju Zhuang
352604664f
Merge pull request #1391 from alibaba/developing
...
Developing
5 years ago
Jiaju Zhuang
4cbdf679d5
新增QQ2群
5 years ago
Jiaju Zhuang
96be4346ca
有模板读写异常
5 years ago
Jiaju Zhuang
bffb08d97c
修改忽略表格代码异常
5 years ago
Jiaju Zhuang
897812008d
跳转代码逻辑
5 years ago
Jiaju Zhuang
5c794ec669
修复xls仅公式行 不读取的bug #1324
5 years ago
Jiaju Zhuang
825eeb13e3
Merge pull request #1325 from laiyijie/master
...
修复全公式的行无法被读取的bug
5 years ago
Jiaju Zhuang
08dac73574
Merge pull request #1331 from wcc526/patch-1
...
Fastjson has a serious security problem in 1.2.58
5 years ago
Jiaju Zhuang
11d1702431
修改demo 统一加上final
5 years ago
Jiaju Zhuang
cf40b873bd
修复`@NumberFormat`注解转换double时可能会丢失精度 #1306
5 years ago
Jiaju Zhuang
9d60fa6745
修复`includeColumnIndexes`不包含第列 会无法导出数据的bug #1346
5 years ago
Jiaju Zhuang
13416ab6b0
修复填充的时候,最后一行中间有空行会创建失败的bug
5 years ago
Jiaju Zhuang
fdeb317940
修复填充的时候,最后一行中间有空行会创建失败的bug
5 years ago
Jiaju Zhuang
927f6b410f
修复xls直接读取第2页 `NPE` 的bug #1280
5 years ago
Jiaju Zhuang
58fdceb2c0
修复xls仅公式行 不读取的bug #1324
5 years ago
Jiaju Zhuang
84998e9c45
* 修复复杂表头不是`index=0`开始 合并异常的bug #1322
5 years ago
Jiaju Zhuang
0de3e57d6b
* 修复复杂表头不是`index=0`开始 合并异常的bug #1322
5 years ago
Jiaju Zhuang
98ec9f8080
新增写入`class`和`list`同时传入 `field`数量不一致报错 #1333
5 years ago
Jiaju Zhuang
e9b904884e
修改head是List时,内容单元格的样式不生效 #1339
5 years ago
Jiaju Zhuang
2c45fa0b13
写入`sheet`不设置`index`和`name`默认不为0的问题
5 years ago
Jiaju Zhuang
39ed3a6738
修复多个`sheet`不按照顺序写入 会乱序的bug #1332
5 years ago
Jiaju Zhuang
39b023997a
修复多个`sheet`不按照顺序写入 会错误的bug #1332
5 years ago
Jiaju Zhuang
852f0ecacb
修复多个`sheet`不按照顺序写入 会错误的bug #1332
5 years ago
Jiaju Zhuang
737de9553f
修复07版仅有样式的空行 默认不忽略的bug
5 years ago
Jiaju Zhuang
20454248cf
修改默认用String读取数字不使用科学计数法 通过`useScientificFormat`修改
5 years ago
Jiaju Zhuang
4a2dd0e94b
撤销删除`AbstractMergeStrategy`
5 years ago
chi-chi weng
f4a2382a65
Fastjson has a serious security problem in 1.2.58
...
Fastjson has a serious security problem in 1.2.58,which will cause RCE
https://www.anquanke.com/post/id/199527
https://www.cnblogs.com/tr1ple/p/12348886.html
https://github.com/jas502n/fastjson-1.2.58-rce
5 years ago
laiyijie
fa73c78246
修复全公式的行无法被读取的bug
5 years ago
dota17
8368d37338
Improved the code
5 years ago
dota17
99722a954b
Greatly Improve metadata.property coverage
5 years ago