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
When we copy a folder into a sub-folder of itself with a COPY request, then the folder is copied into the sub-folder of itself creating a never ending copy of the folder. This is possible in case of a API request while with webUI it is not possible to copy a folder into a sub-folder of itself.
Steps to reproduce
create a user user1
create folder PARENT
create folder CHILD inside PARENT
copy the PARENT folder inside CHILD folder
Curl command to copy folder into subfolder of itself
@phil-davis yes its same like the above issue you mentioned. I found out during adding the COPY scenarios. If it is to be fixed then we can remove this issue as it is already been created.
Description
When we copy a folder into a sub-folder of itself with a
COPY
request, then the folder is copied into the sub-folder of itself creating a never ending copy of the folder. This is possible in case of a API request while with webUI it is not possible to copy a folder into a sub-folder of itself.Steps to reproduce
user1
PARENT
CHILD
inside PARENTPARENT
folder insideCHILD
folderCurl command to copy folder into subfolder of itself
curl -ks -uuser1:123456 -XCOPY -H "DESTINATION: https://host.docker.internal:9200/remote.php/webdav/PARENT/CHILD/PARENT" https://host.docker.internal:9200/remote.php/webdav/PARENT -v | xmllint --format -\n
Expected behavior (on OC10)
Response on old webdav
Actual behavior (On OCIS)
This is the screenshot of behavior with
old
webdav when theCOPY
request is terminated.NOTE
The above behavior is seen on the ocis for all
old
,new
andspaces
webdavcurl command for
new
webdav:curl -ks -uuser1:123456 -XCOPY -H "DESTINATION: https://host.docker.internal:9200/remote.php/dav/files/user1/PARENT/CHILD/PARENT" https://host.docker.internal:9200/remote.php/dav/files/user1/PARENT -v | xmllint --format -\n
curl command for
spaces
webdav:curl -ks -uuser1:123456 -XCOPY -H "https://host.docker.internal:9200/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$f51af613-b2ab-4788-8fe4-c470819a311d/PARENT/CHILD/PARENT" https://host.docker.internal:9200/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$f51af613-b2ab-4788-8fe4-c470819a311d/PARENT -v | xmllint --format -\n
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
The text was updated successfully, but these errors were encountered: