Remove ) from Content-Disposition header in session (#4743)
This commit is contained in:
parent
d9e8161779
commit
065d0ae07c
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ func jsonError(w http.ResponseWriter, status int, err error) {
|
|||
}
|
||||
|
||||
func csvResult(w http.ResponseWriter, res any) {
|
||||
w.Header()["Content-Disposition"] = []string{`attachment; filename="sessions.csv")`}
|
||||
w.Header()["Content-Disposition"] = []string{`attachment; filename="sessions.csv"`}
|
||||
|
||||
if ww, ok := res.(api.CsvWriter); ok {
|
||||
ww.WriteCsv(w)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue