always call stripUserFilesPath(), we need to keep the Shared/ to find the correct owner of the file later
This commit is contained in:
parent
f10be4ea17
commit
5995b6996b
|
@ -209,16 +209,8 @@ class Proxy extends \OC_FileProxy {
|
|||
$view = new \OC_FilesystemView( '/' );
|
||||
$util = new Util( $view, $userId );
|
||||
|
||||
if ( $util->isSharedPath( $path ) ) {
|
||||
|
||||
$relPath = $util->stripSharedFilePath( $path );
|
||||
|
||||
} else {
|
||||
|
||||
$relPath = $util->stripUserFilesPath( $path );
|
||||
|
||||
}
|
||||
|
||||
|
||||
// TODO check for existing key file and reuse it if possible to avoid problems with versioning etc.
|
||||
// Disable encryption proxy to prevent recursive calls
|
||||
|
|
Loading…
Reference in New Issue