mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
fix wrong uft-8 filenames on raw download, see issue #697
This commit is contained in:
@@ -1141,7 +1141,7 @@ public class RepositoryResource
|
||||
*/
|
||||
private String getContentDispositionName(String name)
|
||||
{
|
||||
return "attachment; filename=\"".concat(name).concat("\"");
|
||||
return HttpUtil.createContentDispositionAttachmentHeader(name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user