Skip to content

Commit

Permalink
Avoid returning security related header when stating an object (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadmeste authored and nitisht committed Apr 26, 2018
1 parent 92b6411 commit c6108c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api-stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ var defaultFilterKeys = []string{
"x-amz-bucket-region",
"x-amz-request-id",
"x-amz-id-2",
"Content-Security-Policy",
"X-Xss-Protection",

// Add new headers to be ignored.
}

Expand Down

0 comments on commit c6108c4

Please sign in to comment.