Commit Graph

4371 Commits

Author SHA1 Message Date
Looly
b958f9f9d2 修复IoUtil.readBytes使用SocketInputStream读取不完整问题 2023-01-17 16:40:45 +08:00
Looly
6260fcd8ea AbstractDb添加返回类型为PageResult的page重载方法 2023-01-17 11:34:59 +08:00
Looly
c02824efbe
!916 给AbstractDb添加返回类型为PageResult<T>的page重载方法
Merge pull request !916 from Tom Xin/v5-dev-add-page-overload-method-for-db
2023-01-17 03:31:03 +00:00
Looly
e37292dec0 HttpUtil.decodeParams增加isFormUrlEncoded重载 2023-01-17 11:13:46 +08:00
Looly
e20c0c3fcc
!918 修复 HttpUtil.decodeParams方法无法正确获取x-www.-form-urlencoded模式提交的含空格的参数
Merge pull request !918 from liangqingfeng/v5-dev
2023-01-17 03:10:46 +00:00
liangqingfeng
5e6804536e 修复HttpUtil.decodeParams方法,判断是否x-www-form-urlencoded的模式 2023-01-16 21:58:13 +08:00
Looly
21eecdc760 ServletUtil遵循rfc 3986优化 2023-01-16 10:17:51 +08:00
Looly
b212fdc685 修复FileUtil的rename在newName与原文件夹名称一样时,文件夹会被删除问题 2023-01-15 11:35:31 +08:00
Looly
d8edccf920 增加WGS84 坐标与墨卡托投影互转 2023-01-15 11:29:13 +08:00
Golden Looly
c80fc89952
Merge pull request #2811 from bigbeef/v5-master
WGS84 坐标与墨卡托投影互转
2023-01-15 11:28:26 +08:00
Looly
9aef56a973 重构根据file magic number判断文件类型 2023-01-15 11:27:08 +08:00
Golden Looly
d5718240cc
Merge pull request #2834 from CherryRum/lin_dev
fix(FileTypeUtil): 重构根据file magic number判断文件类型
2023-01-15 11:23:25 +08:00
Looly
78a14dc345 HttpGlobalConfig.allowPatch()调用时忽略错误 2023-01-15 11:22:44 +08:00
Looly
247d79a4fb HttpGlobalConfig.allowPatch()调用时忽略错误 2023-01-15 11:21:21 +08:00
Looly
554b828745 XmlUtil.readObjectFromXml增加注入漏洞的警告注释,并标识为废弃 2023-01-15 11:08:09 +08:00
Looly
b4f6ffc66f Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2023-01-15 11:01:57 +08:00
Looly
a0cba2fd55 修复HexUtil.isHexNumber()对"-"的判断问题 2023-01-15 11:01:28 +08:00
TomXin
7970df3675 🎨 给AbstractDb添加返回类型为PageResult<T>的page重载方法 2023-01-12 17:47:34 +08:00
yulin
d67e1c567d fix(FileTypeUtil): 重构根据file magic number判断文件类型
1.重构多个Magic Number
2.根据单独类型匹配,修复某些文件跳位置对比
3.获取到文件Mime类型和后缀
4.获取文件流从28byte提升到64byte
5.添加精确匹配如docx、xlsx、pptx、doc、xls、ppt,精确匹配为8192byte(大小10k文件左右)
6.添加file magic number枚举

Closes https://github.com/dromara/hutool/issues/2821
2022-12-31 21:31:46 +08:00
Looly
a9ed895c9d
!907 ECB/PKCS5Padding is the default mode and padding
Merge pull request !907 from 悟道/v5-dev
2022-12-28 07:37:09 +00:00
悟道
bb629b6e7e fix comment: ECB/PKCS5Padding is the default mode and padding. 2022-12-28 14:55:56 +08:00
Looly
09a2dc3807 prepare 5.8.12 2022-12-27 22:14:45 +08:00
Looly
61dbf0ffe2 🐧release 5.8.11 2022-12-27 22:02:14 +08:00
Looly
433c0d3ae1 fix test 2022-12-27 21:52:01 +08:00
Looly
837489aa1a fix comment 2022-12-27 21:50:01 +08:00
Looly
582f9e7a8c 修复CoordinateUtil坐标转换参数错误 2022-12-27 21:40:59 +08:00
Looly
200c098b29 修复ConverterRegistry中无效加载导致的问题 2022-12-27 20:48:28 +08:00
Looly
379b10bbd5 BooleanUtil增加toString重载 2022-12-27 20:26:02 +08:00
Golden Looly
0cf4a8d6c1
Merge pull request #2816 from 847689421/v5-dev
BooleanUtil增加toString(Boolean bool, String trueString, String falseString, String nullString)方法
2022-12-27 20:25:27 +08:00
Looly
f9dbb4c587 修复sm2构造方法NullPointerException 2022-12-27 20:22:31 +08:00
Golden Looly
b596be1083
Merge pull request #2820 from CherryRum/lin_dev
fix: 修复sm2构造方法NullPointerException
2022-12-27 20:21:34 +08:00
Looly
f4c46d5b98 ServletUtil和JakartaServletUtil新增获取所有响应头的方法 2022-12-27 20:21:00 +08:00
Golden Looly
1a0c22b555
Merge pull request #2828 from Charles7c/v5-dev
新增获取所有响应头的方法
2022-12-27 20:14:08 +08:00
Looly
eec3590b7c CompressUtil 新增 stripComponents 参数 2022-12-27 20:10:01 +08:00
Looly
5d62517ad3
!904 CompressUtil 新增 stripComponents 参数
Merge pull request !904 from 不忘初心/v5-dev
2022-12-27 12:09:22 +00:00
Looly
1e11bd5da5 修复IndexedComparator导致的数据错乱问题(ExcelWriter使用部分别名导致字段丢失) 2022-12-27 19:59:35 +08:00
Looly
05c32a8f46 KeyUtil中的读取KeyStore文件的方法增加全局Provider 2022-12-27 19:52:33 +08:00
Looly
b78657f67f 修复UrlBuilder中参数中包括"://"判断错误问题 2022-12-27 19:41:52 +08:00
Looly
7ee9b163c4
!898 修复Gitee issue #I66CIR
Merge pull request !898 from Tom Xin/v5-dev-fix_#I66CIR
2022-12-27 11:37:11 +00:00
Looly
c5957beaa7 修复通过jdbcurl创建SimpleDataSource报NullPointException 2022-12-27 19:36:04 +08:00
Looly
0831176af6
!900 修复通过jdbcurl创建SimpleDataSource报NullPointException
Merge pull request !900 from Tom Xin/v5-dev-fix-create-mariadb-datasource
2022-12-27 11:35:26 +00:00
Looly
18ecdc09e4 修复JSONXMLSerializer将Json转为XML时,遇到嵌套需要递归情况时会丢失contentKeys问题 2022-12-27 19:34:24 +08:00
Looly
f4d73ee66e
!903 修复#I676IT
Merge pull request !903 from Xeons/v5-dev
2022-12-27 11:27:12 +00:00
bwcx_jzy
b92d98e286
feat CompressUtil 新增 stripComponents 参数 #I67MIK 2022-12-27 18:27:47 +08:00
大黄蜂coder
1950b783ab
修正20037508不不准确的问题 2022-12-26 17:08:36 +08:00
YangXikun
7faa15c393 修复JSON转XML时,用户指定的contentKeys只对最外面一层的元素生效 2022-12-26 11:07:46 +08:00
Charles7c
8e33ba1799 新增获取所有响应头的方法 2022-12-25 15:23:48 +08:00
TomXin
9a5786798b 修复对mariadb的jdbcurl的解析 2022-12-23 11:01:44 +08:00
TomXin
0c31def7b8 修复Gitee issue #I66CIR 2022-12-21 17:16:13 +08:00
yulin
988e59eafd feature: 修复sm2构造方法NullPointerException
Closes https://gitee.com/dromara/hutool/issues/I66OCK
2022-12-20 12:53:02 +08:00