-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Mimetypes in the trashbin are wrong #1337
Comments
To check that just put a file with mimetype (e.g. text file) into the trashbin and check the response of the request to {
"data": {
"directory": "/",
"files": [
{
"etag": 1473409022000,
"id": 0,
"mimetype": "application/octet-stream",
"mtime": 1473409022000,
"name": "abc.def.txt",
"parentId": null,
"permissions": 1,
"size": 3,
"type": "file"
},
{
"etag": 1473408408000,
"id": 1,
"mimetype": "application/octet-stream",
"mtime": 1473408408000,
"name": "test.docx",
"parentId": null,
"permissions": 1,
"size": 0,
"type": "file"
}
],
"permissions": 0
},
"status": "success"
} |
I remember that back then when I wrote the code I explicitly removed the |
Here we broke it... 435cd31 I will revert the line for the mimetype detection |
application/octet-stream
.dUNIXTIMESTAMP
Any idea how to fix that? cc @schiessle @icewind1991 @rullzer
I found this while debugging another issue.
The text was updated successfully, but these errors were encountered: