Skip to content

Commit

Permalink
Added changelog and updated comment to refer to github issue instead …
Browse files Browse the repository at this point in the history
…of CERNBOX issue
  • Loading branch information
Jesse Geens committed Sep 24, 2024
1 parent 9fbf089 commit d82085e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/unreleased/disable-versioning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Enhancement: Add HTTP header to disable versioning on EOS

https://github.com/cs3org/reva/pull/4864
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/put.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func (s *svc) handlePut(ctx context.Context, w http.ResponseWriter, r *http.Requ

// Propagate X-Disable-Versioning header
// Used to disable versioning for applications that do not expect this behaviour
// See CERNBOX-3610
// See reva#4855 for more info
if disableVersioning := r.Header.Get(HeaderDisableVersioning); disableVersioning != "" {
httpReq.Header.Set(HeaderDisableVersioning, strconv.FormatBool(true))
}
Expand Down

0 comments on commit d82085e

Please sign in to comment.