server/apps/workflowengine/lib/Check
Joas Schilling d4d3725bfe
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 10:05:45 +02:00
..
AbstractStringCheck.php let a dedicate service serve a stateful process 2019-09-09 22:56:05 +02:00
FileMimeType.php Only cache the mimetype if the file exists 2019-10-14 10:05:45 +02:00
FileName.php Don't call basename on null 2019-10-01 17:30:52 +02:00
FileSize.php let a dedicate service serve a stateful process 2019-09-09 22:56:05 +02:00
FileSystemTags.php require IChecks to receive entity context 2019-09-09 22:56:05 +02:00
RequestRemoteAddress.php let a dedicate service serve a stateful process 2019-09-09 22:56:05 +02:00
RequestTime.php let a dedicate service serve a stateful process 2019-09-09 22:56:05 +02:00
RequestURL.php Translate the errors 2016-08-01 17:56:33 +02:00
RequestUserAgent.php require IChecks to receive entity context 2019-09-09 22:56:05 +02:00
TFileCheck.php Fix type hinting on setFileInfo 2019-09-10 08:52:13 +02:00
UserGroupMembership.php let a dedicate service serve a stateful process 2019-09-09 22:56:05 +02:00