Don't restrict forms in CSP (#327)
This commit is contained in:
parent
17422d8485
commit
c0b2acf33e
1 changed files with 1 additions and 1 deletions
|
@ -40,10 +40,10 @@ class CspMiddleware
|
|||
$csp->addDirective('default-src', [])
|
||||
->addDirective('font-src', ['self' => true])
|
||||
->addDirective('style-src', ['self' => true])
|
||||
->addDirective('form-action', ['self' => true])
|
||||
->addDirective('manifest-src', ['self' => true])
|
||||
->addDirective('base-uri', [])
|
||||
->addDirective('frame-ancestors', [])
|
||||
->addSource('form-action', '*')
|
||||
->addSource('img-src', '*');
|
||||
|
||||
if ($this->config->debug) {
|
||||
|
|
Loading…
Reference in a new issue