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