From 7d39990497f0ee34c252ca746850f75bab18ff5e Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Mon, 8 May 2017 17:56:22 +0200 Subject: [PATCH] helpers: Don't clean the path before Join Join will call Clean anyway. --- helpers/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/path.go b/helpers/path.go index d246b57c3..de3de2a02 100644 --- a/helpers/path.go +++ b/helpers/path.go @@ -415,7 +415,7 @@ func prettifyPath(in string, b filepathPathBridge) string { if len(in) < 2 { return b.Separator() } - return b.Join(b.Clean(in), "index.html") + return b.Join(in, "index.html") } name, ext := fileAndExt(in, b) if name == "index" {