aboutsummaryrefslogtreecommitdiff
path: root/internal/urllib/url.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/urllib/url.go')
-rw-r--r--internal/urllib/url.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/urllib/url.go b/internal/urllib/url.go
index b3e2a546..55230187 100644
--- a/internal/urllib/url.go
+++ b/internal/urllib/url.go
@@ -67,7 +67,7 @@ func IsHTTPS(websiteURL string) bool {
return false
}
- return strings.ToLower(parsedURL.Scheme) == "https"
+ return strings.EqualFold(parsedURL.Scheme, "https")
}
// Domain returns only the domain part of the given URL.