mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix isHttp
This commit is contained in:
parent
8903f52e8e
commit
e5574fa173
@ -21,6 +21,7 @@
|
||||
* 【core 】 修复Ipv4Util分隔符问题(issue#I24A9I@Gitee)
|
||||
* 【core 】 修复Ipv4Util.longToIp的问题
|
||||
* 【poi 】 修复Excel07SaxReader读取公式的错误的问题(issue#I23VFL@Gitee)
|
||||
* 【http 】 修复HttpUtil.isHttp判断问题(pr#1208@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -51,7 +51,7 @@ public class HttpUtil {
|
||||
* @return 是否https
|
||||
*/
|
||||
public static boolean isHttps(String url) {
|
||||
return url.toLowerCase().startsWith("https");
|
||||
return url.toLowerCase().startsWith("https:");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user