We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c7b0fa + 59e60a0 commit e4bccafCopy full SHA for e4bccaf
apps/files_trashbin/lib/Storage.php
@@ -128,7 +128,7 @@ public function rmdir($path) {
128
protected function shouldMoveToTrash($path) {
129
$normalized = Filesystem::normalizePath($this->mountPoint . '/' . $path);
130
$parts = explode('/', $normalized);
131
- if (count($parts) < 4) {
+ if (count($parts) < 4 || strpos($normalized, '/appdata_') === 0) {
132
return false;
133
}
134
0 commit comments