Arthur Schiwon
c2a52813e2
extends ICheck with scope and entity support, provide them as initialState
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:04 +02:00
Roeland Jago Douma
90dc8fb42e
A folder should get a folder mimetype
...
If doing achunked upload the mimetype of the folder would otherwise be
guessed from the path. Which always returned application/octet-stream.
If an access control rule to block that is in place this means that all
chunked uploads fail hard in directories as the isCreatable on the
directory always fails.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-29 21:35:08 +01:00
Joas Schilling
c574212422
Fix mimetype detection for junked uploads
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-24 10:42:59 +02:00
Joas Schilling
394a61f1e6
Fix workflow engine mimetype detection when creating a directory
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-23 12:45:36 +01:00
Joas Schilling
e8be73f485
Fix mimetype detection on public uploads for the workflow engine
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-06 12:04:54 +01:00
Joas Schilling
2d61ee3c13
Make mimetype also work for READ and DELETE operations
2016-09-05 09:48:23 +02:00
Joas Schilling
d08240e364
Better detection of mimetypes while uploading a zip on a mac
2016-09-05 09:48:22 +02:00
Joas Schilling
6aa5d674d6
Translate the errors
2016-08-01 17:56:33 +02:00
Joas Schilling
8a753342ee
Add file mime type
2016-08-01 17:19:04 +02:00