From 2da3a0e3f37ee075861164f06662c90f0fc43265 Mon Sep 17 00:00:00 2001 From: Moshe Revah Date: Mon, 21 Jan 2019 13:49:59 +0200 Subject: [PATCH] case insensitive server/site search --- george.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/george.go b/george.go index 41bacdb..989bc3f 100644 --- a/george.go +++ b/george.go @@ -129,7 +129,7 @@ func (g *George) SearchSite(pattern string) (*forge.Server, *forge.Site, error) func (g *George) compileSearchPattern(pattern string) (server, site glob.Glob, err error) { var serverPat, sitePat string - patterns := strings.Split(pattern, ":") + patterns := strings.Split(strings.ToLower(pattern), ":") if len(patterns) == 2 { serverPat, sitePat = patterns[0], patterns[1] } else {