mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
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
This commit is contained in:
parent
2af8c354a7
commit
2e1ffa189b
|
@ -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…
Reference in a new issue