Merge pull request #18236 from nextcloud/bugfix/noid/always-detect-mimetype-by-content-in-workflows
Allow to detect mimetype by content
Showing
- apps/workflowengine/lib/Check/FileMimeType.php 22 additions, 85 deletionsapps/workflowengine/lib/Check/FileMimeType.php
- apps/workflowengine/lib/Check/TFileCheck.php 6 additions, 1 deletionapps/workflowengine/lib/Check/TFileCheck.php
- apps/workflowengine/lib/Service/RuleMatcher.php 3 additions, 2 deletionsapps/workflowengine/lib/Service/RuleMatcher.php
- lib/private/Files/Type/Detection.php 90 additions, 60 deletionslib/private/Files/Type/Detection.php
- lib/public/Files/IMimeTypeDetector.php 9 additions, 1 deletionlib/public/Files/IMimeTypeDetector.php
- lib/public/WorkflowEngine/IFileCheck.php 4 additions, 1 deletionlib/public/WorkflowEngine/IFileCheck.php
- tests/lib/Files/Type/DetectionTest.php 77 additions, 42 deletionstests/lib/Files/Type/DetectionTest.php
Loading
Please register or sign in to comment