Skip to content

Commit

Permalink
Revert "Strip leading slashes?"
Browse files Browse the repository at this point in the history
This reverts commit 4598430.
  • Loading branch information
AstraLuma committed Oct 11, 2024
1 parent 3972b55 commit 3e1c89f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion s3proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ func (p *S3Proxy) Provision(ctx caddy.Context) (err error) {
}

func (p resolved_proxy) getS3Object(bucket string, path string, headers http.Header) (*s3.GetObjectOutput, error) {
path = strings.TrimLeft(path, "/")
oi := &s3.GetObjectInput{
Bucket: aws.String(bucket),
Key: aws.String(path),
Expand Down

0 comments on commit 3e1c89f

Please sign in to comment.