Skip to content

Commit 889eb91

Browse files
authored
Merge pull request rails#31828 from claudiob/doc-csp
Add ContentSecurityPolicy to list of middleware
2 parents 0c98d06 + 5ea2d02 commit 889eb91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

guides/source/rails_on_rack.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol
284284

285285
* Sets up the flash keys. Only available if `config.action_controller.session_store` is set to a value.
286286

287+
**`ActionDispatch::ContentSecurityPolicy::Middleware`**
288+
289+
* Provides a DSL to configure a Content-Security-Policy header.
290+
287291
**`Rack::Head`**
288292

289293
* Converts HEAD requests to `GET` requests and serves them as so.

0 commit comments

Comments
 (0)