Skip to content

Commit

Permalink
temp: debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Stehle committed Jul 3, 2024
1 parent d9a5e03 commit c2a533e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/http/services/owncloud/ocdav/net/builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package net

import (
"net/url"
"time"

cs3types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
Expand All @@ -28,7 +27,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''\"" + filename + "\"; filename=\"" + filename + "\""
}

// RFC1123Z formats a CS3 Timestamp to be used in HTTP headers like Last-Modified
Expand Down

0 comments on commit c2a533e

Please sign in to comment.