mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged DEV to HEAD (4.2.0)
55320 : ALF-19583 : IE9: SlideShare icon isn't displayed on Channel Manager page - Using file extension without point. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55379 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -88,7 +88,7 @@ public class ChannelTypeIconGetWebScript extends AbstractWebScript
|
||||
String ext = MimetypeMap.EXTENSION_BINARY;
|
||||
if (lastDot != -1 && lastDot < (filename.length()-1))
|
||||
{
|
||||
ext = filename.substring(lastDot);
|
||||
ext = filename.substring(lastDot + 1);
|
||||
}
|
||||
String mimeType = mimetypeService.getMimetype(ext);
|
||||
res.setContentType(mimeType);
|
||||
|
Reference in New Issue
Block a user