fix wrong uft-8 filenames on raw download, see issue #697

This commit is contained in:
Sebastian Sdorra
2015-04-18 22:11:34 +02:00
parent 518bf3fdab
commit 71291bd7ea
2 changed files with 26 additions and 7 deletions

View File

@@ -1141,7 +1141,7 @@ public class RepositoryResource
*/
private String getContentDispositionName(String name)
{
return "attachment; filename=\"".concat(name).concat("\"");
return HttpUtil.createContentDispositionAttachmentHeader(name);
}
/**