diff --git a/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java b/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java index 8e8c629e..a60a5d14 100644 --- a/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java +++ b/docs-web/src/main/java/com/sismics/docs/rest/resource/FileResource.java @@ -536,7 +536,7 @@ public class FileResource extends BaseResource { } Response.ResponseBuilder builder = Response.ok(stream) - .header(HttpHeaders.CONTENT_DISPOSITION, "inline; filename=" + file.getFullName("data")) + .header(HttpHeaders.CONTENT_DISPOSITION, "inline; filename=\"" + file.getFullName("data") + "\"") .header(HttpHeaders.CONTENT_TYPE, mimeType); if (decrypt) { // Cache real files