Change form-action Content-Security-Policy directive to be more restrictive (#26897)
This commit is contained in:
parent
5f782f9629
commit
a496aeabcb
4 changed files with 29 additions and 21 deletions
|
@ -26,7 +26,7 @@ RSpec.describe 'Content-Security-Policy' do
|
|||
connect-src 'self' data: blob: https://cb6e6126.ngrok.io #{Rails.configuration.x.streaming_api_base_url}
|
||||
default-src 'none'
|
||||
font-src 'self' https://cb6e6126.ngrok.io
|
||||
form-action 'self'
|
||||
form-action 'none'
|
||||
frame-ancestors 'none'
|
||||
frame-src 'self' https:
|
||||
img-src 'self' data: blob: https://cb6e6126.ngrok.io
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue