the reva replacement has been removed

This commit is contained in:
Roman Perekhod
2024-07-11 20:13:20 +02:00
parent 26b4927ed8
commit e30be758bd
4 changed files with 5 additions and 8 deletions
@@ -28,7 +28,7 @@ import (
// ContentDispositionAttachment builds a ContentDisposition Attachment header with various filename encodings
func ContentDispositionAttachment(filename string) string {
return "attachment; filename*=UTF-8''" + url.QueryEscape(filename) + "; filename=\"" + filename + "\""
return "attachment; filename*=UTF-8''" + url.PathEscape(filename) + "; filename=\"" + filename + "\""
}
// RFC1123Z formats a CS3 Timestamp to be used in HTTP headers like Last-Modified