core
core copied to clipboard
Dragging a folder into a folder causes MKCOL status 405
Steps to reproduce
- login to the oC10 classic webUI
- create a folder
topFolder
- drag some folder
testFolder
from the desktop and drop it on top oftopFolder
Expected behaviour
testFolder
should be created inside topFolder
without any bad request responses.
Actual behaviour
testFolder
is created inside topFolder
- good.
But the webUI also sends an MKCOL for topFolder
- trying to create topFolder
.
That request gets an HTTP 405 response, because topFolder
already exists.
Server configuration
Current oC10 core master.
In the screenshot, I dragged folder test
and then test456
into topFolder
. They both caused the useless MKCOL request that gets a 405 response.
I dragged a file into topFolder
and that does not cause the useless MKCOL request.
I noticed this while testing PR #39966
Nothing is very broken from an end-user point-of-view, but it would be nice to not do the needless MKCOL API request.