Uh oh!
There was an error while loading. Please reload this page.
Only cache the mimetype if the file exists - #17332
Conversation
nickvergessen
commented
Sep 30, 2019
/backport to stable17 |
nickvergessen
commented
Sep 30, 2019
/backport to stable16 |
nickvergessen
commented
Sep 30, 2019
/backport to stable15 |
kesselb
commented
Sep 30, 2019
rullzer
left a comment
There was a problem hiding this comment.
We should really get more tests for this code.
nickvergessen
commented
Sep 30, 2019
Yeah, seems like i @kesselb So maybe we need to modify that code block a bit more |
nickvergessen
commented
Sep 30, 2019
Well actually the code from b5f407e was removed by the rework of the workflow thing @juliushaertl |
kesselb
commented
Sep 30, 2019
Hmm. I'm not sure if you can reproduce this issue on master. For now files_accesscontrol is not compatible with the new workflow: nextcloud/files_accesscontrol#132 |
juliusknorr
commented
Oct 7, 2019
For the new WFE the file info is set here: |
juliusknorr
commented
Oct 7, 2019
/backport to stable17 |
juliusknorr
commented
Oct 7, 2019
/backport to stable16 |
juliusknorr
commented
Oct 7, 2019
/backport to stable15 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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>
6290ebc to
d4d3725Comparebackport to stable17 in #17538 |
backport to stable16 in #17539 |
backport to stable15 in #17540 |
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:
Signed-off-by: Joas Schilling coding@schilljs.com