mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
MNT-16942 : Unknown mimetype when using Upload New Version action.
- changed the mimetype to lowercase git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3923,7 +3923,7 @@ public class ScriptNode implements Scopeable, NamespacePrefixResolverProvider
|
|||||||
InputStream is = null;
|
InputStream is = null;
|
||||||
if (applyMimetype)
|
if (applyMimetype)
|
||||||
{
|
{
|
||||||
writer.setMimetype(content.getMimetype());
|
writer.setMimetype(content.getMimetype().toLowerCase());
|
||||||
}
|
}
|
||||||
if (guessEncoding)
|
if (guessEncoding)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user