Error when viewing .svg files

cancel
Showing results for 
Search instead for 
Did you mean: 
danieleff
Member II

Error when viewing .svg files

Whenever I want to "View in Browser" an .svg files uploaded to a project library, I get:

"The mimetype for the requested content is considered a security risk and will not be displayed."

How can I fix this? There is no preview either on the document details page.

2 Replies
ryandawson
Alfresco Employee

Re: Error when viewing .svg files

What do you mean by the project library? Is this a question about the Alfresco Process Services or Activiti BPM products (which is the forum section under which it the question posted) or the Alfresco Content Repository? I did a search for that error and the only result I found was in relation to Alfresco Share (https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/tags/5.1.d/share/src/main/resourc... ).  For Content Repository questions the appropriate forum section is  

udayakumar_p
Active Member

Re: Error when viewing .svg files

We are also facing the same issue. When we try to view .svg files uploaded to alfresco share, this error is shown. Also, using OpenCMIS, we retrieve the base64 encoded text of this image and when we try to convert it to an image it fails. Does alfresco has some issue with storing svg file or what we are missing here?