Merge pull request #471 from stepanbujnak/master

Show contents of manifest file when cm=false is passed
This commit is contained in:
Chris Lu 2017-03-12 22:25:34 -07:00 committed by GitHub
commit b095496d30

View file

@ -165,7 +165,7 @@ func (vs *VolumeServer) FaviconHandler(w http.ResponseWriter, r *http.Request) {
}
func (vs *VolumeServer) tryHandleChunkedFile(n *storage.Needle, fileName string, w http.ResponseWriter, r *http.Request) (processed bool) {
if !n.IsChunkedManifest() {
if !n.IsChunkedManifest() || r.URL.Query().Get("cm") == "false" {
return false
}