diff --git a/pkg/files/curpath.go b/pkg/files/curpath.go index 1b59982..c99a02d 100644 --- a/pkg/files/curpath.go +++ b/pkg/files/curpath.go @@ -1,7 +1,6 @@ package files import ( - "net/url" "strings" ) @@ -13,7 +12,7 @@ func CurrentPath(path string) (curPath string) { sb.WriteString("/") - sb.WriteString(url.PathEscape(part)) + sb.WriteString(part) sb.WriteString("") curPath += sb.String() }