[Pkg-owncloud-commits] [owncloud] 91/104: in order to work properly with encryption ocTransferId is added to the file path - questionable usage of magic string

David Prévot taffit at moszumanska.debian.org
Sat Jan 18 13:33:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 0c140d5f6e50a9b898b8f344705a99cee9a13d24
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Jan 7 11:53:33 2014 +0100

    in order to work properly with encryption ocTransferId is added to the file path - questionable usage of magic string
---
 lib/private/connector/sabre/file.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index 830c320..c3b5900 100644
--- a/lib/private/connector/sabre/file.php
+++ b/lib/private/connector/sabre/file.php
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list