I'm using SABREDAV 3.2 as server
Le mercredi 4 janvier 2017 00:37:55 UTC+1, Evert Pot a écrit :
>
> Hi Lionel,
>
> On Tuesday, January 3, 2017 at 6:18:27 PM UTC-5, Lionel VEST wrote:
>>
>> Hi,
>>
>> I implemented some WEBDAV function in my software using the SABREDAV
>> CLIENT
>>
>> We just encountered this morning an odd bug that deleted 6Gb of data
>> (hopefully we had a backup)
>>
>>
>> Here's the PHP code :
>>
>> $response = $client->request('MOVE', '/files/user/DOSSIERS/test',null,
>> ['Destination' => '/files/user/DOSSIERS/' . $newname]);
>>
>> In this case the user didn't input $newname so the executed command was :
>>
>>
>> $response = $client->request('MOVE', '/files/user/DOSSIERS/test',null,
>> ['Destination' => '/files/user/DOSSIERS/']);
>>
>
> This is definitely not expected. Which WebDAV server software are you
> using? The expected behavior in this case is that the server should emit a
> 409 Conflict, and not make *any* changes.
>
> Evert
>
--
You received this message because you are subscribed to the Google Groups
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sabredav-discuss/ab0b2f73-21b6-41ff-bc9d-df4f40ebbfd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.