diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-07 11:53:33 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-07 11:53:33 +0100 |
commit | ed469a7d2c11b92cad4446a596c2b27c2d46362b (patch) | |
tree | d75ae49c3e912ca246e378949cf34f7044d21fc9 /lib/private/connector | |
parent | 1c0b8ed21421334fed1a699e52dbb5765b66f96d (diff) | |
download | nextcloud-server-ed469a7d2c11b92cad4446a596c2b27c2d46362b.tar.gz nextcloud-server-ed469a7d2c11b92cad4446a596c2b27c2d46362b.zip |
in order to work properly with encryption ocTransferId is added to the file path - questionable usage of magic string
Diffstat (limited to 'lib/private/connector')
-rw-r--r-- | lib/private/connector/sabre/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php index d476e9fab14..53524ec9e54 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 |