You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or do the config as a parameter to `ensure_security_headers`
71
74
72
75
```ruby
73
76
ensure_security_headers(
@@ -308,6 +311,8 @@ console.log("will raise an exception if not in script_hashes.yml!")
308
311
309
312
### Public Key Pins
310
313
314
+
Be aware that pinning error reporting is governed by the same rules as everything else. If you have a pinning failure that tries to report back to the same origin, by definition this will not work.
315
+
311
316
```
312
317
config.hpkp = {
313
318
max_age: 60.days.to_i, # max_age is a required parameter
0 commit comments