the reva replacement has been removed
This commit is contained in:
Generated
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user