diff --git a/src/base/FindUrlAction.java b/src/base/FindUrlAction.java index 8d3fd41..eaa5e9a 100644 --- a/src/base/FindUrlAction.java +++ b/src/base/FindUrlAction.java @@ -69,8 +69,7 @@ public static List buildUrls(String baseurl, List urlPath){ if (StringUtils.isBlank(baseurl)) { continue; } - url = url.toLowerCase(); - if (url.startsWith("http://") || url.startsWith("https://")) { + if (url.toLowerCase().startsWith("http://") || url.toLowerCase().startsWith("https://")) { result.add(url); continue; }