mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 04:40:05 -06:00
@@ -27,7 +27,7 @@ import (
|
||||
|
||||
// ContentDispositionAttachment builds a ContentDisposition Attachment header with various filename encodings
|
||||
func ContentDispositionAttachment(filename string) string {
|
||||
return "attachment; filename*=UTF-8''" + filename + "; filename=\"" + filename + "\""
|
||||
return "attachment; filename*=UTF-8''\"" + filename + "\"; filename=\"" + filename + "\""
|
||||
}
|
||||
|
||||
// RFC1123Z formats a CS3 Timestamp to be used in HTTP headers like Last-Modified
|
||||
|
||||
@@ -579,6 +579,7 @@ func (p *Handler) getResourceInfos(ctx context.Context, w http.ResponseWriter, r
|
||||
|
||||
// adjust path
|
||||
info.Path = filepath.Join(spacePath, spaceRef.Path)
|
||||
info.Name = filepath.Base(info.Path)
|
||||
|
||||
spaceMap[info] = spaceData{Ref: spaceRef, SpaceType: space.SpaceType}
|
||||
|
||||
|
||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -362,7 +362,7 @@ github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1
|
||||
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
|
||||
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
|
||||
github.com/cs3org/go-cs3apis/cs3/types/v1beta1
|
||||
# github.com/cs3org/reva/v2 v2.18.1-0.20240205065033-2c21ada2ae52
|
||||
# github.com/cs3org/reva/v2 v2.18.1-0.20240206122233-bf89f7aaedd1
|
||||
## explicit; go 1.21
|
||||
github.com/cs3org/reva/v2/cmd/revad/internal/grace
|
||||
github.com/cs3org/reva/v2/cmd/revad/runtime
|
||||
|
||||
Reference in New Issue
Block a user