Minor polish in path/url

This commit is contained in:
bep
2015-01-20 20:45:03 +01:00
parent 9e688507a7
commit 2ec046afb1
2 changed files with 4 additions and 9 deletions

View File

@@ -168,5 +168,5 @@ func ResourceAndExt(in string) (name string, ext string) {
ext = path.Ext(in)
base := path.Base(in)
return FileAndExtSep(in, ext, base, "/"), ext
return extractFilename(in, ext, base, "/"), ext
}