commented response for fixing the Incident #10095.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174105 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-11-12 14:00:33 +00:00
parent 39a32724c1
commit 6b2a735a47
1 changed files with 6 additions and 1 deletions

View File

@ -536,7 +536,12 @@ public class WorkspaceUploadServletStream extends HttpServlet implements Servlet
if(workspaceUploader==null)
throw new Exception("Error when creating uploader, it is null!");
sendMessage(response, workspaceUploader.getIdentifier());
/*
* Incident #10095. Commented OK as response
* in order to avoid downloading of .dms file by Safari
* from MAC
*/
//sendMessage(response, workspaceUploader.getIdentifier());
}else{
logger.warn("Unsuppoterd archive for unpacking: " +uploadItem.getContentType());