]> source.dussan.org Git - nextcloud-server.git/commitdiff
in order to work properly with encryption ocTransferId is added to the file path...
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 7 Jan 2014 10:53:33 +0000 (11:53 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 7 Jan 2014 10:53:33 +0000 (11:53 +0100)
lib/private/connector/sabre/file.php

index d476e9fab14aa44458a14d133c5ecffdefee5ad3..53524ec9e54914a56dfb04e32f0f37e2bf25a861 100644 (file)
@@ -64,7 +64,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
                }
 
                // mark file as partial while uploading (ignored by the scanner)
-               $partpath = $this->path . rand() . '.part';
+               $partpath = $this->path . '.ocTransferId' . rand() . '.part';
 
                // if file is located in /Shared we write the part file to the users
                // root folder because we can't create new files in /shared