in order to work properly with encryption ocTransferId is added to the file path - questionable usage of magic string

This commit is contained in:
Thomas Müller 2014-01-07 11:53:33 +01:00
parent 1c0b8ed214
commit ed469a7d2c
1 changed files with 1 additions and 1 deletions

View 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