Browse Source

fix tag prefix.

pull/1566/head
ruitao.liu 4 years ago
parent
commit
72f6b77dea
  1. 2
      weed/server/filer_server_handlers_read.go

2
weed/server/filer_server_handlers_read.go

@ -97,7 +97,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request,
if r.Method == "GET" {
tagCount := 0
for k, _ := range entry.Extended {
if strings.HasPrefix(k, "x-amz-tagging") {
if strings.HasPrefix(k, "x-amz-tagging-") {
tagCount++
}
}

Loading…
Cancel
Save