Skip to content
Unverified Commit d4d3725b authored by Joas Schilling's avatar Joas Schilling
Browse files

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: default avatarJoas Schilling <coding@schilljs.com>
parent 9d6a58e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment