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 (e.g testFolder) within a public link folder to a folder which has same name as an already existing file (e.g copy1.txt), then the new copied folder overwrites the previously existing file of same name.
Steps to reproduce
Create a user Alice
User Alice creates a folder PARENT1
User Alice creates another folder PARENT1/testFolder
User Alice uploads a file with content some data to PARENT1/testFolder/testfile.txt
User Alice uploads a file with content some data 1 to PARENT1/copy1.txt
User Alice creates a public link share with path PARENT1 and permissions read,update,create,delete
[User gets a token in the response eg:zSr0bOKQfLbbv7C]
The public copies folder testFolder to copy1.txt using new public webdav api:
Does this overwriting happen in a user/group share, and for a normal user's files/folders?
(when test scenarios are adding for issue #37669 then this will be known)
I guess that if a user wants to replace a file with a whole folder, or a whole folder with a single file, then that is their business. The server just does what it is told. Or is this strange enough behavior that the server should prevent it?
Description
When we copy a folder (e.g testFolder) within a public link folder to a folder which has same name as an already existing file (e.g copy1.txt), then the new copied folder overwrites the previously existing file of same name.
Steps to reproduce
Alice
Alice
creates a folderPARENT1
Alice
creates another folderPARENT1/testFolder
Alice
uploads a file with contentsome data
toPARENT1/testFolder/testfile.txt
Alice
uploads a file with contentsome data 1
toPARENT1/copy1.txt
Alice
creates a public link share with pathPARENT1
and permissionsread,update,create,delete
[User gets a token in the response eg:zSr0bOKQfLbbv7C]
testFolder
tocopy1.txt
using new public webdav api:Expected behaviour
A 403 Forbidden error
Actual behaviour
Checking Content
To make sure if the file has been overwritten:
The text was updated successfully, but these errors were encountered: