mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix isHttp
This commit is contained in:
@@ -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:");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user