mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-16381 Transformers must validate the content stream mimetype
- Tika has problems identifying eps - it guesses ps, so allow this through. - Fix lost line in DifferrentMimeTypeTest git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -181,6 +181,7 @@ public class DifferrentMimeTypeTest extends TestCase
|
||||
}
|
||||
|
||||
// Try to transform file with accurate MIME type
|
||||
contentReader = contentReader.getReader();
|
||||
contentReader.setMimetype(actualSourceMimetype);
|
||||
actualTransformer.transform(contentReader, outputWriter, options);
|
||||
}
|
||||
|
Reference in New Issue
Block a user