-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mimetype:update-db changes a folder to "audio/*" #27585
Comments
I guess the mimetype code needs to first verify whether the target is actually a file. @Rello do you have time to dig into this ? |
@PVince81 I think I this is the related part core/lib/private/Files/Type/Loader.php Lines 160 to 169 in f10d105
it does a plain find by do you agree? the simplest solution would be to exclude the mimetype completely from processing |
Excluding the directory mimetype in that query sounds like a good plan. |
I will create a pull |
thanks a lot! |
check if folder is "httpd/unix-directory" and don´t perform here #27585
check if folder is "httpd/unix-directory" and don´t perform here #27585
check if folder is "httpd/unix-directory" and don´t perform here #27585
check if folder is "httpd/unix-directory" and don´t perform here #27585
Hey, this issue has been closed because the label |
this was fixed through #27668 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
occ maintenance:mimetype:update-db --repair-filecache
Expected behaviour
nothing bad
Actual behaviour
a folder becomes an audio file
Server configuration
Operating system:
Debian
Web server:
nginx
Database:
mariadb
PHP version:
7.0
ownCloud version: (see ownCloud admin page)
9.1.4
The text was updated successfully, but these errors were encountered: