Skip to content

Commit 4d31114

Browse files
committed
bump to 3.4.0 and include child/frame-src handling
1 parent 0cc560c commit 4d31114

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 3.4.0 the frame-src/child-src transition for Firefox.
2+
3+
Handle the `child-src`/`frame-src` transition semi-intelligently across versions. I think the code best descibes the behavior here:
4+
5+
```ruby
6+
if supported_directives.include?(:child_src)
7+
@config[:child_src] = @config[:child_src] || @config[:frame_src]
8+
else
9+
@config[:frame_src] = @config[:frame_src] || @config[:child_src]
10+
end
11+
```
12+
13+
Also, @koenpunt noticed that we were [loading view helpers](https://github.com/twitter/secureheaders/pull/272) in a way that Rails 5 did not like.
14+
115
## 3.3.2 minor fix to silence warnings when using rake
216

317
[@dankohn](https://github.com/twitter/secureheaders/issues/257) was seeing "already initialized" errors in his output. This change conditionally defines the constants.

secure_headers.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- encoding: utf-8 -*-
22
Gem::Specification.new do |gem|
33
gem.name = "secure_headers"
4-
gem.version = "3.3.2"
4+
gem.version = "3.4.0"
55
gem.authors = ["Neil Matatall"]
66
gem.email = ["[email protected]"]
77
gem.description = 'Security related headers all in one gem.'

0 commit comments

Comments
 (0)