Looly
|
2a786afd3f
|
修复CVE-2023-3276漏洞,XmlUtil.readBySax问题
|
2023-06-16 20:23:06 +08:00 |
|
Looly
|
143cd59b08
|
修复XmlUtil.xmlToBean空节点转换失败问题
|
2023-06-16 19:25:23 +08:00 |
|
Looly
|
7351aec47d
|
修复XmlUtil.xmlToBean空节点转换失败问题
|
2023-06-16 19:23:19 +08:00 |
|
Looly
|
d53ac71616
|
修复FileUtil.checkSlip方法缺陷
|
2023-06-16 19:19:17 +08:00 |
|
Looly
|
5637d37e21
|
fix comment
|
2023-06-15 16:56:03 +08:00 |
|
Looly
|
8eab38eac8
|
修复xml转json再转bean失败问题
|
2023-06-14 13:33:27 +08:00 |
|
Looly
|
0c1b76c5f3
|
add test
|
2023-06-14 11:16:46 +08:00 |
|
Looly
|
a4ade53dfe
|
修复FileUtil.checkSlip方法缺陷
|
2023-06-09 22:00:57 +08:00 |
|
Golden Looly
|
6b459c94a2
|
Revert "punycode中大写字母解码异常问题修复,统一编码和解码为小写"
|
2023-06-08 17:16:29 +08:00 |
|
Golden Looly
|
30feda3767
|
Merge pull request #3127 from zhaoxinhu/v5-dev
punycode中大写字母解码异常问题修复,统一编码和解码为小写
|
2023-06-08 17:09:51 +08:00 |
|
Looly
|
5cc1b492b7
|
add text/event-stream
|
2023-06-08 08:51:02 +08:00 |
|
Looly
|
332fd5c346
|
修复Table#contains空指针问题
|
2023-06-06 22:25:15 +08:00 |
|
hellozrh
|
11b854acb3
|
清掉多余的空行
|
2023-06-05 09:42:53 +08:00 |
|
hellozrh
|
2e1ed51f28
|
CsvWriter如果开启了append=true,默认自动开启endingLineBreak=true
|
2023-06-05 09:33:07 +08:00 |
|
Looly
|
8432d76064
|
!1008 CollUtil新增anyMatch和allMatch方法
Merge pull request !1008 from gwml/v5-master
|
2023-06-02 17:42:35 +00:00 |
|
csy
|
6000bd7f63
|
恢复测试类缩进
|
2023-06-02 17:54:34 +08:00 |
|
csy
|
003b221f38
|
CollUtil新增allMatch和anyMatch方法
|
2023-06-02 17:50:17 +08:00 |
|
dazer007
|
c027ffe922
|
fix getGenderByIdCard 潜在的bug, 如:idcard 是16位,charAt(16)就出抛除 IndexOutOfBoundsException 的异常
|
2023-06-02 15:26:08 +08:00 |
|
Looly
|
0ad26a61ed
|
修复umberUtil.parseNumber对+解析问题
|
2023-06-01 18:02:36 +08:00 |
|
Looly
|
ac53cec860
|
!1004 fix: MapUtil的inverse方法注释错误
Merge pull request !1004 from 爱花花/v5-dev
|
2023-06-01 01:20:50 +00:00 |
|
Looly
|
a213ff3a05
|
!1006 修改注释错误并添加单测
Merge pull request !1006 from handy/handy-0531
|
2023-06-01 01:17:57 +00:00 |
|
Looly
|
e878cf2e4b
|
fix comment
|
2023-06-01 09:12:39 +08:00 |
|
Looly
|
d3d406a129
|
修复TreeUtil.getParentsName()获取到的路径集合中存在值为null的路径名称问题
|
2023-05-31 19:01:45 +08:00 |
|
handy
|
667b48b409
|
修改注释错误并添加单测
|
2023-05-31 15:51:09 +08:00 |
|
huahua
|
8b81b9eac0
|
fix: MapUtil的inverse方法注释错误
|
2023-05-31 14:03:59 +08:00 |
|
zhaoxinhu
|
021419b8a2
|
punycode中大写字母解码异常问题修复,统一编码和解码为小写
|
2023-05-31 09:28:13 +08:00 |
|
Looly
|
18e73eaa3b
|
UrlQuery增加setStrict方法,区分是否严格模式
|
2023-05-28 12:21:03 +08:00 |
|
Looly
|
bcc21df50a
|
prepare 5.8.20
|
2023-05-27 00:36:03 +08:00 |
|
Looly
|
be75da4317
|
release 5.8.19
|
2023-05-27 00:15:27 +08:00 |
|
Looly
|
99c5e13930
|
DelegatedExecutorService 构造方法设置成public
|
2023-05-23 16:16:28 +08:00 |
|
Looly
|
357c40a454
|
增加Tailer追踪文件时文件被删除的处理情况
|
2023-05-23 12:34:01 +08:00 |
|
Golden Looly
|
731875d62e
|
Merge pull request #3115 from houxinlin/v5-dev
增加Tailer追踪文件时文件被删除的处理情况
|
2023-05-23 12:28:39 +08:00 |
|
2606710413@qq.com
|
73d0af2efd
|
增加Tailer追踪文件时文件被删除的处理情况
|
2023-05-20 14:34:23 +08:00 |
|
Looly
|
a61175f425
|
增加CsvWriteConfig.setEndingLineBreak配置项
|
2023-05-20 03:17:29 +08:00 |
|
Looly
|
d8b9b5cad1
|
修复BeanUtil.copyToList复制Long等类型错误问题
|
2023-05-20 02:30:24 +08:00 |
|
Looly
|
7a4f295be0
|
FileTypeUtil.getType增加文件判断
|
2023-05-19 21:51:48 +08:00 |
|
Looly
|
c33550f703
|
修复FileUtil.createTempFile可能导致的漏洞
|
2023-05-15 20:48:02 +08:00 |
|
Looly
|
6896fed4c1
|
SyncFinisher增加setExceptionHandler方法
|
2023-05-15 19:46:18 +08:00 |
|
Looly
|
609dc4d865
|
FileUtil.getMimeType增加webp识别
|
2023-05-14 23:49:28 +08:00 |
|
Looly
|
d91fc69da1
|
邮箱校验添加对中文的支持
|
2023-05-14 23:13:12 +08:00 |
|
Looly
|
721faf353a
|
!997 邮箱校验添加对中文的支持。
Merge pull request !997 from Yiwyn/v5-dev
|
2023-05-14 15:11:43 +00:00 |
|
Looly
|
61ffa24917
|
修复ZipReader.get调用reset异常问题
|
2023-05-14 22:48:52 +08:00 |
|
Yiwyn
|
c5e90f5e69
|
add method 添加对中文邮箱的校验支持
|
2023-05-14 16:47:10 +08:00 |
|
VampireAchao
|
6acaae7b11
|
fix issue I72C6E
|
2023-05-11 22:59:28 +08:00 |
|
Looly
|
98330b0704
|
add test
|
2023-05-11 09:54:34 +08:00 |
|
Looly
|
d87d0c8131
|
fix comment
|
2023-05-07 01:11:36 +08:00 |
|
zhangxingjia
|
c61049b90b
|
fix: FileUtil类中createTempFile方法注释错误修复
|
2023-05-06 18:10:17 +08:00 |
|
Looly
|
0252bd7445
|
修复NumberUtil mul 传入null的string入参报错问题
|
2023-05-05 19:23:23 +08:00 |
|
Looly
|
07284d0c62
|
fix comment
|
2023-04-26 09:04:12 +08:00 |
|
Looly
|
74d895ccb6
|
修复JSONUtil.toBean目标存在Map字段无序问题
|
2023-04-25 16:37:56 +08:00 |
|
Looly
|
9b8f0a0ed4
|
修复VIN(车架号)正则问题
|
2023-04-22 22:38:37 +08:00 |
|
Looly
|
4fa9fb8606
|
add test
|
2023-04-19 18:44:45 +08:00 |
|
Looly
|
ce1c0bab45
|
fix decoder bug
|
2023-04-18 16:35:29 +08:00 |
|
Looly
|
91de866ffa
|
fix decode
|
2023-04-18 12:24:15 +08:00 |
|
Looly
|
549523db6c
|
add null check
|
2023-04-18 00:20:48 +08:00 |
|
Looly
|
923aa1cf21
|
修复URLUtil.decode无法解码UTF-16问题
|
2023-04-17 23:49:31 +08:00 |
|
liam
|
e465856d31
|
test(FileUtilTest): 增加测试兼容性
在 jdk 11及更高级的版本中将原来 jre 移除掉,同时将 MimeTable 中加载的 content-type.properties 文件从 jre 移入代码中, 并对该文件进行了扩充,当文件后缀名为 .js 时,会返回 text/javascript
|
2023-04-17 16:35:26 +08:00 |
|
Looly
|
2651651076
|
prepare 5.8.19
|
2023-04-17 00:14:56 +08:00 |
|
Looly
|
89832cdcce
|
release 5.8.18
|
2023-04-16 23:40:08 +08:00 |
|
Looly
|
5d82f07936
|
修复CollUtil.reverseNew针对非可变列表异常
|
2023-04-14 22:55:16 +08:00 |
|
Looly
|
74bf08c5ac
|
prepare 5.8.18
|
2023-04-12 18:55:52 +08:00 |
|
Looly
|
2672137dbf
|
☃️release 5.8.17
|
2023-04-12 17:45:17 +08:00 |
|
Looly
|
6f68e2fac7
|
!975 修复使用AnnotationUtil.getAnnotationAlias获取注解时可能会出现空指针的问题
Merge pull request !975 from Sparks/v5-dev
|
2023-04-11 15:16:43 +00:00 |
|
Looly
|
cd310a2bca
|
isNotEmpty修改规则,避开IDEA错误提示
|
2023-04-11 23:16:32 +08:00 |
|
Looly
|
07d3f26ceb
|
!974 操作集合之前使用CollUtil.isNotEmpty判断,IDEA会报警告
Merge pull request !974 from 爱花花/v5-dev
|
2023-04-11 15:01:14 +00:00 |
|
Looly
|
0ebfb8146d
|
CsvReader修改策略,添加可选是否关闭Reader重载,默认不关闭Reader
|
2023-04-11 22:44:06 +08:00 |
|
zhangjiayu
|
9f1fd664eb
|
修复使用AnnotationUtil.getAnnotationAlias获取注解时可能会出现空指针的问题
|
2023-04-11 16:52:58 +08:00 |
|
huahua
|
5a73e06e2b
|
fix: ColUtil的isNotEmpty在idea中会推断空指针
|
2023-04-11 08:40:39 +08:00 |
|
Looly
|
a97901f0e3
|
修复Pair反序列化报错问题
|
2023-04-05 01:05:07 +08:00 |
|
Looly
|
84e8456377
|
修复SafeConcurrentHashMap.computeIfAbsent可能存在的结果为null的情况
|
2023-04-02 21:37:50 +08:00 |
|
Looly
|
8ceaaa6428
|
fix code
|
2023-04-01 01:14:46 +08:00 |
|
Looly
|
74071035e1
|
fix code
|
2023-04-01 01:13:12 +08:00 |
|
Looly
|
2cadd59600
|
DateUtil.getZodiac增加越界检查
|
2023-03-31 21:58:04 +08:00 |
|
Looly
|
4bc25e92d8
|
修复MapUtil.computeIfAbsent可能存在的并发问题
|
2023-03-31 21:34:05 +08:00 |
|
Looly
|
8420a9b0a1
|
NamingCase.toCamelCase新增重载,可选是否转换其他字符为小写
|
2023-03-31 13:40:46 +08:00 |
|
Looly
|
b167fa1d16
|
add test
|
2023-03-31 13:31:14 +08:00 |
|
Looly
|
4fcdabb3f2
|
修复FileUtil.move传入相同目录或子目录丢失源目录的问题
|
2023-03-31 13:25:03 +08:00 |
|
Looly
|
838dcb7d3c
|
Number128增加hash和equals方法
|
2023-03-30 23:39:47 +08:00 |
|
Looly
|
cbc2246a37
|
CollUtil.split优化切割列表参数判断,避免OOM
|
2023-03-29 22:01:24 +08:00 |
|
wulang
|
2a8444b11f
|
fix test
|
2023-03-29 18:57:02 +08:00 |
|
wulang
|
d343051db5
|
fix:CollUtil.split优化切割列表参数判断,避免OOM
|
2023-03-29 16:30:27 +08:00 |
|
Looly
|
7af3344b5e
|
add test
|
2023-03-29 12:20:58 +08:00 |
|
Looly
|
73cf56f3a2
|
SerializeUtil.deserialize增加白名单类,避免RCE vulnerability
|
2023-03-28 19:09:59 +08:00 |
|
Looly
|
e36bee21ec
|
add test
|
2023-03-27 19:50:38 +08:00 |
|
Looly
|
2a7c1bbb04
|
prepare 5.8.17
|
2023-03-26 09:26:53 +08:00 |
|
Looly
|
d7de4dd4e7
|
release 5.8.16
|
2023-03-26 09:05:45 +08:00 |
|
Looly
|
b884cdaedd
|
fix test
|
2023-03-26 06:18:39 +08:00 |
|
Looly
|
1ac0a904c0
|
fix doc
|
2023-03-26 05:56:00 +08:00 |
|
Looly
|
5799e018c1
|
修复props.toBean 数组字段未赋值问题
|
2023-03-26 05:53:45 +08:00 |
|
Looly
|
8bd76de6fe
|
修复NullComparator反转无效问题
|
2023-03-26 05:04:06 +08:00 |
|
Looly
|
953fc7b18f
|
!964 NullComparator 比较器bug修复
Merge pull request !964 from 想长大的笨小孩/v5-master
|
2023-03-25 20:59:27 +00:00 |
|
想长大的笨小孩
|
3c13da5515
|
!1 NullComparator 比较器bug修复
* 1. 当使用 new PropertyComparator("endTime", false) 时,把null值放到最后,不生效
|
2023-03-25 10:00:44 +00:00 |
|
zzzj
|
8b0b21f742
|
commonPrefix与commonSuffix支持空字符串(前缀/后缀)匹配
|
2023-03-24 11:44:30 +08:00 |
|
Looly
|
7bed31e13f
|
FileUtil增加readLines重载,支持filter
|
2023-03-24 00:06:32 +08:00 |
|
Golden Looly
|
8395ca12b0
|
Merge pull request #3006 from li-keguo/feature/filter-readline
add filter read line
|
2023-03-24 00:03:59 +08:00 |
|
Looly
|
f36c83421e
|
修复WatchUtil createModify maxDepth传递后没有使用问题
|
2023-03-24 00:01:13 +08:00 |
|
Looly
|
d192a53bbb
|
NumberUtil增加重载parseXXX方法, 解析失败返回默认值
|
2023-03-23 23:55:58 +08:00 |
|
Golden Looly
|
59470d1669
|
Merge pull request #3007 from zzzj1233/v5-dev
Feat: NumberUtil重载parseXXX方法, 解析失败返回默认值, 代替抛出异常
|
2023-03-23 23:52:16 +08:00 |
|
Looly
|
88c959c4ed
|
修复CalendarUtil.isSameMonth没有判断公元前导致不一致的问题
|
2023-03-23 22:34:21 +08:00 |
|
zzzj
|
0390c8c606
|
CharSequenceUtil新增commonPrefix与commonSuffix方法
|
2023-03-23 18:04:44 +08:00 |
|
zzzj
|
7ce0ddf343
|
parse( Int/Long/Float/Double/Number ) Test Case
|
2023-03-23 11:54:53 +08:00 |
|
zzzj
|
88e99a3972
|
parse( Int/Long/Float/Double/Number ), 支持默认值参数, 解析失败通过返回默认值替代抛出异常
|
2023-03-23 11:54:20 +08:00 |
|
likeguo
|
d02c662437
|
add filter read line
|
2023-03-23 00:19:20 +08:00 |
|
likeguo
|
3c72340868
|
add filter read line
|
2023-03-23 00:16:49 +08:00 |
|
likeguo
|
292ceb594b
|
add filter read line
|
2023-03-22 23:40:40 +08:00 |
|
likeguo
|
8da20d7638
|
Merge branch 'v5-master' into feature/filter-readline
# Conflicts:
# hutool-core/src/main/java/cn/hutool/core/io/FileUtil.java
|
2023-03-22 23:39:02 +08:00 |
|
likeguo
|
4b7da5119b
|
add filter read line
|
2023-03-22 23:30:03 +08:00 |
|
Looly
|
9cb10bb214
|
add test
|
2023-03-21 23:54:49 +08:00 |
|
Looly
|
6f8b4dd818
|
修复DateUtil针对ISO8601时间格式部分场景下的解析存在问题
|
2023-03-14 23:02:55 +08:00 |
|
Looly
|
6fd8f7f8d8
|
fix comment
|
2023-03-14 22:54:24 +08:00 |
|
ZhouXY108
|
1c6dd7a250
|
修改 Javadoc 的小问题。
|
2023-03-14 11:30:29 +08:00 |
|
Looly
|
c6ce5fe215
|
修复FileMagicNumber长度判断问题导致的越界异常
|
2023-03-12 15:58:45 +08:00 |
|
Looly
|
a3f48ccb29
|
修复BeanUtil.hasGetter没有跳过getClass方法的问题
|
2023-03-12 13:26:00 +08:00 |
|
Looly
|
4cc18740a3
|
优化ArrayUtil的空判断
|
2023-03-10 22:06:41 +08:00 |
|
Looly
|
ee57e381b0
|
改进XmlUtil.xmlToBean,支持xml转bean时父节点忽略大小写
|
2023-03-10 13:19:39 +08:00 |
|
Looly
|
aef20c411d
|
改进Calculator.conversion,兼容乘法符号省略写法
|
2023-03-09 20:41:02 +08:00 |
|
Looly
|
914a7b700c
|
prepare 5.8.16
|
2023-03-09 19:14:55 +08:00 |
|
Looly
|
eeef29977f
|
backup 5.8.15
|
2023-03-09 19:13:17 +08:00 |
|
Looly
|
c861931cef
|
prepare 5.8.16
|
2023-03-09 09:48:29 +08:00 |
|
Looly
|
9bbba8f319
|
release 5.8.15
|
2023-03-09 00:20:08 +08:00 |
|
Looly
|
bdceb0013d
|
add test
|
2023-03-08 23:06:21 +08:00 |
|
Looly
|
3d10a39ea3
|
修复NumberWithFormat导致转换Long异常问题
|
2023-03-08 22:40:56 +08:00 |
|
Looly
|
11e3d7acf2
|
!952 docs:纠正Opt.filter方法的文档描述
Merge pull request !952 from renshiyang/v5-dev
|
2023-03-07 10:23:36 +00:00 |
|
Looly
|
cc9bd54cc8
|
add test
|
2023-03-07 18:22:31 +08:00 |
|
任世杨
|
b62e99d573
|
docs:纠正Opt.filter方法的文档描述
|
2023-03-07 14:30:58 +08:00 |
|
Looly
|
bf6871fb6d
|
prepare 5.8.15
|
2023-03-05 23:18:04 +08:00 |
|
Looly
|
4c9ddb666c
|
🐸release 5.8.14
|
2023-03-05 22:47:27 +08:00 |
|
Looly
|
52617b2032
|
修复FileUtil.moveContent会删除源目录的问题 修复HttpBase.body导致的空指针问题
|
2023-03-05 22:45:36 +08:00 |
|
Looly
|
51c29abcad
|
去除冗余插件
|
2023-03-04 13:48:40 +08:00 |
|
Looly
|
460d09f25b
|
prepare 5.8.14
|
2023-03-03 23:45:00 +08:00 |
|
Looly
|
09351d3b9d
|
🐶release 5.8.13
|
2023-03-03 23:33:42 +08:00 |
|
Looly
|
3dfdd86ca0
|
修复JWT自定义时间格式后的时间戳转换问题
|
2023-03-03 23:26:59 +08:00 |
|
Looly
|
2cdce52d4a
|
add test
|
2023-03-03 22:12:51 +08:00 |
|
Looly
|
a717d03420
|
JavaSourceCompiler#compile增加自定义options重载
|
2023-03-03 20:51:46 +08:00 |
|
Looly
|
ccc316ee8c
|
JavaSourceCompilerTest
|
2023-03-03 20:43:42 +08:00 |
|
Golden Looly
|
dc74b829a4
|
Merge pull request #2942 from xuwenping123/v5_dev_compile
add source code for dynamic compile
|
2023-03-03 20:41:14 +08:00 |
|
Looly
|
a25a707e3a
|
add test
|
2023-03-03 18:18:39 +08:00 |
|
xuwenping
|
f0d94c9806
|
add source code for dynamic compile
|
2023-03-02 22:45:33 +08:00 |
|
Looly
|
f5cb27a608
|
根据JDK-8080225修改了部分新建文件输入流和文件输出流的创建方式
|
2023-02-28 22:45:56 +08:00 |
|
Looly
|
46b9633768
|
build(pom): 添加 Automatic-Module-Name属性
|
2023-02-28 22:34:17 +08:00 |
|
Looly
|
5fcd4093be
|
PhoneUtil.isTel400800支持400-XXX-XXXX格式
|
2023-02-28 22:18:57 +08:00 |
|
Looly
|
819bf98d50
|
修复MutableObj.equals空指针问题
|
2023-02-24 15:44:38 +08:00 |
|
Looly
|
fe7751342e
|
修复isXXX转换时的匹配问题
|
2023-02-22 19:33:56 +08:00 |
|
Looly
|
c8124bd0c6
|
add test
|
2023-02-21 16:05:25 +08:00 |
|
Golden Looly
|
ca2fbf45f3
|
Merge pull request #2912 from jptx1234/v5-dev
修复ReflectUtil.invokeRaw方法中参数类型转换动作未生效的问题
|
2023-02-21 15:55:55 +08:00 |
|
Looly
|
ae4d79ebd6
|
修复Tailer文件内容跟随在调用stop后,文件依旧被占用问题
|
2023-02-21 12:00:14 +08:00 |
|
Looly
|
c3f378207b
|
修复ReUtil.delAll方法当 content 仅为空格时的问题
|
2023-02-21 11:44:46 +08:00 |
|
jptx1234
|
12abd63460
|
修复ReflectUtil.invokeRaw方法中参数类型转换动作未生效的问题
|
2023-02-20 00:11:49 +08:00 |
|
Zjp
|
6cd85b7f16
|
fix StrUtil.split切分长度为0时的bug;
|
2023-02-17 10:50:31 +08:00 |
|
Golden Looly
|
66949c9b4b
|
Merge pull request #2894 from winlans/v5-dev
fix FileUtil.move
|
2023-02-15 17:39:37 +08:00 |
|
mochouZero555
|
9ba833313c
|
IssueI6E6ZG 法定年龄 由虚岁计算改未周岁计算,并增加测试
|
2023-02-11 22:03:53 +08:00 |
|
winlans
|
2d311a6b90
|
fix FileUtil.move
|
2023-02-10 18:15:45 +08:00 |
|
Looly
|
d0a2b90c55
|
prepare 5.8.13
|
2023-02-09 21:23:56 +08:00 |
|
Looly
|
9dbdf1423e
|
🍳release 5.8.12
|
2023-02-09 21:15:09 +08:00 |
|
Golden Looly
|
2169e33e61
|
Merge pull request #2889 from winlans/v5-dev
fix DateUtil.parseUTC
|
2023-02-09 20:33:44 +08:00 |
|
Looly
|
db108e1ca9
|
DateUtil.date方法统一修改规则,传入null返回null
|
2023-02-09 20:31:17 +08:00 |
|
Golden Looly
|
c64b38244b
|
Merge pull request #2877 from 847689421/v5-dev
修复DateUtil.date(java.time.temporal.TemporalAccessor)方法入参为null时报NullPointerException异常问题,调整为入参为null时return null
|
2023-02-09 20:06:20 +08:00 |
|
Golden Looly
|
a15cb6fed5
|
Merge pull request #2869 from zhaomoran/v5-master
修改注释:通过key获取的始终是同一对象和参数无关
|
2023-02-09 20:04:29 +08:00 |
|
Looly
|
771f0a4809
|
修复“sax方式读取excel2003版本,会调用两次doAfterAllAnalysed方法”问题
|
2023-02-09 19:43:49 +08:00 |
|
Looly
|
0e3cf48875
|
!919 修复“sax方式读取excel2003版本,会调用两次doAfterAllAnalysed方法”问题。
Merge pull request !919 from hellozrh/v5-dev
|
2023-02-09 11:37:01 +00:00 |
|
winlans
|
b710b83780
|
fix DateUtil.parseUTC
|
2023-02-09 19:28:53 +08:00 |
|
Looly
|
648a8e9443
|
!929 修复Ipv4Util.list()方法的bug
Merge pull request !929 from emptypoint/fix-bug-Ipv4Util
|
2023-02-09 11:06:25 +00:00 |
|
Looly
|
02e85a80e5
|
【重要】删除XmlUtil.readObjectFromXml方法,避免漏洞
|
2023-02-09 18:31:54 +08:00 |
|
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 |
|
Looly
|
47479f45a7
|
🐶release 5.8.10
|
2022-11-17 09:01:29 +08:00 |
|
Looly
|
8db6cb041b
|
add test
|
2022-11-17 02:17:39 +08:00 |
|
Looly
|
a4e7ee5c91
|
!867 修复字节数组转float 返回类型却是double的bug
Merge pull request !867 from sony_7/v5-master
|
2022-11-16 17:24:38 +00:00 |
|
zhangqq
|
5bd8a298ba
|
修复字节数组转float 返回的值却是double类型的bug
|
2022-11-14 19:22:54 +08:00 |
|
Looly
|
8ff1368f30
|
修复BeanUtil.copyProperties 包含EnumSet ,类型转换异常问题
|
2022-11-12 19:46:57 +08:00 |
|
Golden Looly
|
47198cc819
|
Merge pull request #2684 from lianyiwuming/v5-dev
修复bug https://github.com/dromara/hutool/issues/2683
|
2022-11-12 19:12:23 +08:00 |
|
yulin
|
3240406aa9
|
refactor(DateUtil、LocalDateTimeUtil): 添加区间退化为点,点与区间,点与点之间关系判断。
Closes https://gitee.com/dromara/hutool/issues/I60JMT
|
2022-11-10 22:29:02 +08:00 |
|
Looly
|
fa115dffbc
|
回滚
|
2022-11-10 12:11:56 +08:00 |
|
Golden Looly
|
7a10881d30
|
Merge pull request #2723 from kiritoowo/v5-dev
1.[bug修复] key为弱引用 value为强引用 会导致key无法被回收 弱引用失效
|
2022-11-10 11:16:53 +08:00 |
|
Looly
|
ece502c526
|
修复ChineseDate传入农历日期非闰月时获取公历错误问题
|
2022-11-10 09:58:26 +08:00 |
|
Looly
|
3b98f64924
|
优化BeanPath.set方法,避免多次重复调用get方法
|
2022-11-10 09:30:32 +08:00 |
|
ljm
|
7152b5b21f
|
1.修复BUG key为弱引用 value为强引用 会导致key无法被回收 弱引用失效
|
2022-11-09 18:45:05 +08:00 |
|
Looly
|
dacf9c80bb
|
fix test
|
2022-11-08 20:27:24 +08:00 |
|
Looly
|
a293fd5510
|
修复 BeanUtil#copyProperties 源对象与目标对象都是 Map 时设置忽略属性无效问题
|
2022-11-08 20:20:50 +08:00 |
|
Golden Looly
|
4fdc443a4e
|
Merge pull request #2698 from top-zhang/v5-dev
fix: 修复 BeanUtil#copyProperties 源对象与目标对象都是 Map 时设置忽略属性无效问题
|
2022-11-08 20:04:32 +08:00 |
|
Looly
|
32ef5b21b5
|
add test
|
2022-11-08 19:48:12 +08:00 |
|
Looly
|
d298eb5b73
|
ClassScanner 增加忽略加载错误类的扫描方法
|
2022-11-08 19:20:09 +08:00 |
|
Looly
|
39dee801f0
|
!855 cn.hutool.core.lang.ClassScanner 增加忽略加载错误类的扫描方法
Merge pull request !855 from oofrank/v5-dev
|
2022-11-08 11:15:22 +00:00 |
|
Looly
|
3776f5a1ef
|
修复DefaultTrustManager空指针问题
|
2022-11-08 19:10:49 +08:00 |
|
Looly
|
ecc4cd64eb
|
去除ClassloaderUtil的Cache
|
2022-11-08 19:09:46 +08:00 |
|
Looly
|
9234846eb7
|
修复StrUtil.subWithLength负数问题
|
2022-11-03 23:17:06 +08:00 |
|
Looly
|
a48e79b03f
|
修复TreeBuilder中使用HashMap导致默认乱序问题
|
2022-11-03 22:20:57 +08:00 |
|
Looly
|
f2249f449e
|
修复拼写错误
|
2022-11-02 23:57:52 +08:00 |
|
topgun
|
fc186ddd54
|
fix: 修复 BeanUtil#copyProperties 源对象与目标对象都是 Map 时设置忽略属性无效问题
closes #2697
|
2022-10-31 22:24:34 +08:00 |
|
frank.lee
|
eb6ad0fe68
|
Merge branch 'v5-master' of https://gitee.com/oofrank/hutool into v5-dev
|
2022-10-28 12:35:32 +08:00 |
|
frank.lee
|
f419507049
|
[新特性]
cn.hutool.core.lang.ClassScanner
scan(boolean,boolean)
增加忽略加载错误类的扫描方法,同时收集了错误的类名,使用简单逻辑编写了测试方法进行测试.
当前 JavaSourceCompilerTest 的几个类恰好不能正常加载,被正确忽略。
|
2022-10-28 12:31:48 +08:00 |
|
Looly
|
7b23328d3f
|
修复IoUtil.copyByNIO方法写出时没有flush的问题
|
2022-10-27 18:51:00 +08:00 |
|
hongdan.qin
|
58f90d6e06
|
修复bug https://github.com/dromara/hutool/issues/2683
|
2022-10-26 11:21:23 +08:00 |
|
Looly
|
2bafc6c8a8
|
FileUtil.copy,当来源为文件时,返回文件而非目录
|
2022-10-24 22:28:35 +08:00 |
|
Looly
|
2142d6522a
|
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此BCD标记为弃用
|
2022-10-24 19:45:11 +08:00 |
|
Looly
|
4c0d594e99
|
修复Partition计算size除数为0报错问题
|
2022-10-24 12:09:31 +08:00 |
|
Looly
|
59e1c64467
|
prepare 5.8.10
|
2022-10-22 23:17:52 +08:00 |
|
Looly
|
1de812e255
|
🐽release 5.8.9
|
2022-10-22 22:53:24 +08:00 |
|
Looly
|
ab35ba10a2
|
fix code
|
2022-10-22 22:16:26 +08:00 |
|
Looly
|
01fc836e56
|
CollectorUtil添加支持对值集合进行映射的分组方法
|
2022-10-22 22:15:09 +08:00 |
|
Looly
|
92003ecbfb
|
修复TableMap没有default方法导致的问题
|
2022-10-22 22:11:03 +08:00 |
|
Looly
|
7fe72ce51b
|
add ppt type
|
2022-10-18 09:20:34 +08:00 |
|