2851 Commits

Author SHA1 Message Date
mochouZero555
6a0ff8b4c3 IssueI6DDJ4,IoUtil.read()文档修复,读取完毕后关闭流 2023-02-08 09:04:24 +08:00
ZZemptypoint
1d1061eae6 fix bug Ipv4Util.list(String,String)方法生成的ip不全; 2023-02-04 21:44:59 +08:00
subin
aadd768c92 修复DateUtil.date(java.time.temporal.TemporalAccessor)方法入参为null时报NullPointerException异常问题,入参为null时return null 2023-02-01 17:31:52 +08:00
zhiqiang94@vip.qq.com
739a8382af 修复XmlUtil.toStr方法注释(omitXmlDeclaration表示为忽略 xml Declaration) 2023-02-01 17:27:39 +08:00
Looly
4450208e54 fix doc 2023-01-31 09:48:58 +08:00
mrzhao
baa782ea27
修改注释:通过key获取的始终是同一对象和参数无关 2023-01-29 11:39:26 +08:00
Golden Looly
02630160ce
Merge pull request #2864 from mcp2016/备注信息的错误修改
备注信息的错误修改
2023-01-19 11:39:06 +08:00
Golden Looly
36816bac59
Merge pull request #2865 from mcp2016/针对coll1为只读集合的补偿
针对CollUtil.subtract coll1 为只读集合的补偿
2023-01-19 11:37:37 +08:00
hellozrh
c9061f388c 调整方法注释,保证准确性。 2023-01-18 09:20:06 +08:00
hellozrh
c660d79bf2 解决excel读到时空白行rowHanler重复执行的问题。 2023-01-18 09:20:05 +08:00
Looly
9994083fe1 修复ClassScanner自定义classload无效问题 2023-01-17 17:30:45 +08:00
Looly
9183a9100e DesensitizedUtil增加对IPv4和IPv6支持 2023-01-17 17:07:18 +08:00
Looly
b958f9f9d2 修复IoUtil.readBytes使用SocketInputStream读取不完整问题 2023-01-17 16:40:45 +08:00
mcp
57ea3a31a3 cn.hutool.core.collection.CollUtil.subtract 针对 coll1 为只读集合的补偿 2023-01-17 16:29:43 +08:00
mcp
faf5994fe0 cn.hutool.core.bean.BeanUtil.isMatchName 备注信息的错误修改 2023-01-17 14:59:54 +08:00
Looly
b212fdc685 修复FileUtil的rename在newName与原文件夹名称一样时,文件夹会被删除问题 2023-01-15 11:35:31 +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
554b828745 XmlUtil.readObjectFromXml增加注入漏洞的警告注释,并标识为废弃 2023-01-15 11:08:09 +08:00
Looly
a0cba2fd55 修复HexUtil.isHexNumber()对"-"的判断问题 2023-01-15 11:01:28 +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
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
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
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
1e11bd5da5 修复IndexedComparator导致的数据错乱问题(ExcelWriter使用部分别名导致字段丢失) 2022-12-27 19:59:35 +08:00
Looly
b78657f67f 修复UrlBuilder中参数中包括"://"判断错误问题 2022-12-27 19:41:52 +08:00
大黄蜂coder
1950b783ab
修正20037508不不准确的问题 2022-12-26 17:08:36 +08:00
TomXin
0c31def7b8 修复Gitee issue #I66CIR 2022-12-21 17:16:13 +08:00
subin
d63d28106a BooleanUtil增加toString(Boolean bool, String trueString, String falseString, String nullString)方法 2022-12-19 22:18:16 +08:00
大黄蜂coder
bc306e56de
WGS84 坐标与墨卡托投影互转
WGS84 坐标与墨卡托投影互转
2022-12-15 18:24:46 +08:00
Looly
ecde508346 修复ZIP bomb漏洞 2022-12-14 16:29:39 +08:00
Looly
3346ef025b fix doc 2022-12-11 16:25:12 +08:00
Looly
0d495e34b3 修复getMultistageReverseProxyIp未去除空格问题 2022-12-05 23:42:00 +08:00
Looly
b0bfbd8ec3 修改PhoneUtil容易歧义的注释 2022-11-29 19:37:19 +08:00
Looly
c3470ab288 Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev 2022-11-28 10:26:38 +08:00
Golden Looly
5f10d2d025
Merge pull request #2755 from LuisStruggle/v5-dev
HtmlUtil中escape方法,增加不断开空格(nbsp)转译,防止xss攻击
2022-11-28 10:23:11 +08:00
Looly
5aa8e9d9a6 add test 2022-11-28 10:22:40 +08:00
Looly
d29b87c36f SyncFinisher线程同步结束器添加立即结束方法 2022-11-26 12:13:39 +08:00
Looly
8767b1edc1
!879 线程同步结束器添加立即结束方法
Merge pull request !879 from 不忘初心/v5-dev
2022-11-26 04:11:16 +00:00
Looly
d6134f707d 修复BiMap中未重写computeIfAbsent和putIfAbsent导致双向查找出问题 2022-11-26 12:07:20 +08:00
bwcx_jzy
7c8cc27ad9
线程同步结束器添加立即结束方法 2022-11-25 13:17:58 +08:00
Looly
4e06f02610 修复HexUtil.isHexNumber()判断逻辑超出long的精度问题 2022-11-24 13:33:12 +08:00
Looly
26771b2853 修复ArrayUtil.insert()不支持原始类型数组的问题 2022-11-24 13:29:52 +08:00
LuisStruggle
31bcd02732 html防止注入转译,增加不断开空格(nbsp)转译 2022-11-24 10:53:32 +08:00
Looly
ff0e3ea52b CharUtil.isBlankChar增加\u180e 2022-11-17 12:05:05 +08:00
Looly
052b0dc8d3 prepare 5.8.11 2022-11-17 09:19:20 +08:00