diff --git a/storages/git/client.go b/storages/git/client.go index d72f57d..3aac1c4 100644 --- a/storages/git/client.go +++ b/storages/git/client.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" "os" - "path/filepath" + "path" "strings" "sync" @@ -29,7 +29,7 @@ func (storageClient *StorageClient) ParseMetadataParams(request *http.Request, m params := RequestMetadataParams{ Repository: query.Get("repository"), Ref: query.Get("ref"), - State: filepath.Clean(query.Get("state")), + State: path.Clean(query.Get("state")), } if params.Repository == "" {