Browse Source

The extension ext should begin with a leading dot, as in ".html"

git-svn-id: https://weed-fs.googlecode.com/svn/trunk@58 282b0af5-e82d-9cf1-ede4-77906d7719d0
pull/2/head
chris.lu@gmail.com 13 years ago
parent
commit
2e1ffa189b
  1. 2
      weed-fs/src/cmd/weedvolume/weedvolume.go

2
weed-fs/src/cmd/weedvolume/weedvolume.go

@ -143,7 +143,7 @@ func parseURLPath(path string) (vid, fid, ext string) {
ext = ""
if dotIndex > 0 {
fid = path[commaIndex+1 : dotIndex]
ext = path[dotIndex+1:]
ext = path[dotIndex:]
}
return
}

Loading…
Cancel
Save