mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-03 04:13:49 +08:00
fix bug
This commit is contained in:
parent
206706936f
commit
cdf105589d
@ -3,7 +3,7 @@
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# 5.7.19 (2022-01-04)
|
||||
# 5.7.19 (2022-01-05)
|
||||
|
||||
### 🐣新特性
|
||||
* 【db 】 优化Condition参数拆分(pr#2046@Github)
|
||||
@ -19,6 +19,7 @@
|
||||
* 【core 】 修复ServletUtil写出文件时未添加双引号导致逗号等特殊符号引起的问题(issue#I4P1BF@Gitee)
|
||||
* 【core 】 NumberUtil增加equals重载解决long传入判断问题(pr#2064@Github)
|
||||
* 【core 】 修复CsvParser行号有误问题(pr#2065@Github)
|
||||
* 【http 】 修复HttpRequest.of无法自动添加http前缀问题(issue#I4PEYL@Gitee)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.7.18 (2021-12-25)
|
||||
|
@ -148,7 +148,7 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
||||
* @since 5.7.18
|
||||
*/
|
||||
public static HttpRequest of(String url, Charset charset) {
|
||||
return new HttpRequest(UrlBuilder.of(url, charset));
|
||||
return new HttpRequest(UrlBuilder.ofHttp(url, charset));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user