diff options
author | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2019-02-04 11:09:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-04 11:09:46 -0500 |
commit | 5da63c1d5664b6499be3c05f12bedddd2079ffb4 (patch) | |
tree | 9a4bff5e0126067d8cd0c5b410e65f5df44a0537 /actionpack/lib/action_dispatch | |
parent | 4558161e4d65b0d3f88bc8a271bb19e75bc55ae9 (diff) | |
parent | ca62dfeede0c5352baf6c65688c71b9cd909c831 (diff) | |
download | rails-5da63c1d5664b6499be3c05f12bedddd2079ffb4.tar.gz rails-5da63c1d5664b6499be3c05f12bedddd2079ffb4.tar.bz2 rails-5da63c1d5664b6499be3c05f12bedddd2079ffb4.zip |
Merge pull request #35086 from gsamokovarov/cleanup-whitelisting-refs
Cleanup the whitelisting references after #33145
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/host_authorization.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/host_authorization.rb b/actionpack/lib/action_dispatch/middleware/host_authorization.rb index 447b70112a..b7dff1df41 100644 --- a/actionpack/lib/action_dispatch/middleware/host_authorization.rb +++ b/actionpack/lib/action_dispatch/middleware/host_authorization.rb @@ -3,8 +3,8 @@ require "action_dispatch/http/request" module ActionDispatch - # This middleware guards from DNS rebinding attacks by white-listing the - # hosts a request can be sent to. + # This middleware guards from DNS rebinding attacks by explicitly permitting + # the hosts a request can be sent to. # # When a request comes to an unauthorized host, the +response_app+ # application will be executed and rendered. If no +response_app+ is given, a |