From 4044d9753da11e7e66234621f52b3dcd04f73b41 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 10 Jun 2021 02:27:27 +0200 Subject: url: trim prefix --- skate/cmd/skate-cleanup/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate/cmd/skate-cleanup') diff --git a/skate/cmd/skate-cleanup/main.go b/skate/cmd/skate-cleanup/main.go index 033b0bc..72b258a 100644 --- a/skate/cmd/skate-cleanup/main.go +++ b/skate/cmd/skate-cleanup/main.go @@ -40,7 +40,7 @@ var ( func main() { flag.Parse() for _, v := range strings.Split(*allow, ",") { - allowedSchemas = append(allowedSchemas, v) + allowedSchemas = append(allowedSchemas, strings.TrimSpace(v)) } var f func([]byte) ([]byte, error) switch *what { -- cgit v1.2.3