helpers: Don't clean the path before Join

Join will call Clean anyway.
This commit is contained in:
Albert Nigmatzianov 2017-05-08 17:56:22 +02:00 committed by Bjørn Erik Pedersen
parent 9b2028626e
commit 7d39990497

View file

@ -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" {