You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to do PROPFIND request with Depth: infinity header using old (/webdav) and new (/dav/files) endpoints in the oCIS server started with default configs (mainly disable depth:infinity).
But the same request using spaces endpoint gives expected error message.
Steps to reproduce
Start oCIS server with default configs (that has OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY=false)
PROXY_ENABLE_BASIC_AUTH=true \
OCIS_ASYNC_UPLOADS=true \
./ocis/bin/ocis server
Add some nested folders/files
Do PROPFIND request using old/new dav paths with Depth: infinity (Possible - ❓)
phil-davis
changed the title
Disable DEPTH:inifinity in PROPFIND is only applicable to dav/spaces path
Disable DEPTH:infinity in PROPFIND is only applicable to dav/spaces path
Sep 26, 2023
Describe the bug
It is possible to do PROPFIND request with
Depth: infinity
header using old (/webdav
) and new (/dav/files
) endpoints in the oCIS server started with default configs (mainly disable depth:infinity).But the same request using
spaces
endpoint gives expected error message.Steps to reproduce
Start oCIS server with default configs (that has
OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY=false
)Add some nested folders/files
Do PROPFIND request using
old
/new
dav paths withDepth: infinity
(Possible - ❓)Response
Do PROPFIND request using
spaces
dav path withDepth: infinity
(Error)NOTE: other endpoints unaffected by
OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY
are:/remote.php/dav/public-files/<token>
/remote.php/dav/spaces/trash-bin/<personal-space-id>
Expected behavior
all endpoints yield same response
Actual behavior
disable depth:infinity work for spaces but not for old/new dav paths
The text was updated successfully, but these errors were encountered: