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 450b9e2 + fc49fa1 commit 1cac241Copy full SHA for 1cac241
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