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 963d968 + 90dc8fb commit 2d50478Copy full SHA for 2d50478
apps/workflowengine/lib/Check/FileMimeType.php
@@ -76,6 +76,11 @@ protected function getActualValue() {
76
return $this->mimeType[$this->storage->getId()][$this->path];
77
}
78
79
+ if ($this->storage->is_dir($this->path)) {
80
+ $this->mimeType[$this->storage->getId()][$this->path] = 'httpd/unix-directory';
81
+ return $this->mimeType[$this->storage->getId()][$this->path];
82
+ }
83
+
84
if ($this->isWebDAVRequest()) {
85
// Creating a folder
86
if ($this->request->getMethod() === 'MKCOL') {
0 commit comments