nextcloud/apps/workflowengine/lib/Check
Joas Schilling f519ed3fda Only cache the mimetype if the file exists
Otherwise files access control will cache "application/octet-stream"
for all the target node on:
rename, move, copy and all other methods which create a new item

To check this:
1. Add an automated tagging rule which tags on mimetype NOT "httpd/unix-directory"
2. Add an access control rule which checks for any mimetype
3. Create a folder and rename it, the folder should not be tagged, but it is

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14 19:40:59 +00:00
..
AbstractStringCheck.php Translate the errors 2016-08-01 17:56:33 +02:00
FileMimeType.php Only cache the mimetype if the file exists 2019-10-14 19:40:59 +00:00
FileName.php Don't call basename on null 2019-10-07 12:03:00 +00:00
FileSize.php Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
FileSystemTags.php Also add the root of external storages to the file id list 2017-03-30 23:26:19 +02:00
RequestRemoteAddress.php Use non aliased method instead 2018-02-13 21:48:24 +01:00
RequestTime.php Translate the errors 2016-08-01 17:56:33 +02:00
RequestURL.php Translate the errors 2016-08-01 17:56:33 +02:00
RequestUserAgent.php Make the Outlook and Thunderbird addons identifyable 2018-02-27 14:37:32 +01:00
UserGroupMembership.php Translate the errors 2016-08-01 17:56:33 +02:00