This commit is contained in:
Lucio Lelii 2018-10-19 08:49:40 +00:00
parent f0ac1a5670
commit 3d734be032
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class StorageManager {
ResponseBuilder response = Response
.ok(so)
.header("content-disposition","attachment; filename = "+fileName)
.header("content-disposition","attachment; filename = \""+fileName+"\"")
.header("Content-Length", size);
if (contentType!= null) response.header("Content-Type",contentType);
return response.build();