Commit 929e6502 authored by Enriko Käsper's avatar Enriko Käsper
Browse files

Merge branch 'hotfix/TEIS-1540' into 'master'

Release: merge 'hotfix-teis-1540' into 'master' created by Jürgen Hannus

See merge request teis/common-api-gateway!119
parents fa3d239b e099b096
......@@ -207,7 +207,7 @@ public class FileContentService {
}
private void setDownloadHeaders(String fileName, HttpServletResponse response, FileMetadataDto dto) {
response.addHeader("Content-disposition", "attachment;filename=" + fileName);
response.addHeader("Content-disposition", "attachment;filename=\"" + fileName + "\"");
response.setContentType(dto.getContentType());
response.setContentLengthLong(dto.getSize());
}
......
theGroup=ee.sm.ti.teis
//commonApiGatewayVersion=forSearch ^commonApiGatewayVersion=.*?-SNAPSHOT
theVersion=1.7.0
theVersion=1.7.2
commonsVersion=1.7.0
pluginVersion=1.0.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment