mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
Solve a problem with inline displaying of file attachments.
This commit is contained in:
parent
2ec310da18
commit
8088c28235
@ -37,7 +37,6 @@ class SecureHeaders
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure $next
|
||||
* @param string|null $guard
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
@ -51,6 +50,7 @@ class SecureHeaders
|
||||
}
|
||||
$csp = [
|
||||
"default-src 'none'",
|
||||
"object-src 'self'",
|
||||
sprintf("script-src 'self' 'unsafe-eval' 'unsafe-inline' %s", $google),
|
||||
"style-src 'self' 'unsafe-inline'",
|
||||
"base-uri 'self'",
|
||||
|
Loading…
Reference in New Issue
Block a user