webdav fix for file chunking
upload with big files should now work @samtuke and @schiesbn we need a solution for the cache files created by webdav
This commit is contained in:
parent
11d0eef8cc
commit
328dea93c7
2 changed files with 7 additions and 2 deletions
|
@ -337,7 +337,12 @@ class Proxy extends \OC_FileProxy {
|
|||
// Reformat path for use with OC_FSV
|
||||
$path_split = explode( '/', $path );
|
||||
$path_f = implode( '/', array_slice( $path_split, 3 ) );
|
||||
|
||||
|
||||
// FIXME: handling for /userId/cache used by webdav for chunking. The cache chunks are NOT encrypted
|
||||
if($path_split[2] == 'cache') {
|
||||
return $result;
|
||||
}
|
||||
|
||||
// Disable encryption proxy to prevent recursive calls
|
||||
$proxyStatus = \OC_FileProxy::$enabled;
|
||||
\OC_FileProxy::$enabled = false;
|
||||
|
|
|
@ -880,7 +880,7 @@ class Util {
|
|||
|
||||
} else {
|
||||
|
||||
throw new \Exception( 'Supplied path could not be resolved "' . $path . '"' );
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue