Skip to content
Snippets Groups Projects
Commit e8859563 authored by Florin Peter's avatar Florin Peter
Browse files

fix for webdav

parent dc8164a3
No related branches found
No related tags found
No related merge requests found
......@@ -492,7 +492,7 @@ class Proxy extends \OC_FileProxy {
if($fixSize > 0) {
$size = $fixSize;
$fileInfo['encrypted'] = 1;
$fileInfo['encrypted'] = true;
$fileInfo['unencrypted_size'] = $size;
// put file info
......
......@@ -519,7 +519,7 @@ class Stream {
}
// set encryption data
$fileInfo['encrypted'] = 1;
$fileInfo['encrypted'] = true;
$fileInfo['size'] = $this->size;
$fileInfo['unencrypted_size'] = $this->unencryptedSize;
......
......@@ -94,7 +94,7 @@ class Util {
// Integration testing:
//// TODO: test new encryption with versioning
//// TODO: test new encryption with sharing
//// DONE: test new encryption with sharing
//// TODO: test new encryption with proxies
......@@ -533,7 +533,7 @@ class Util {
if ( $realSize > 0 ) {
$cached = $this->view->getFileInfo( $path );
$cached['encrypted'] = 1;
$cached['encrypted'] = true;
// set the size
$cached['unencrypted_size'] = $realSize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment