Skip to content

Commit

Permalink
Solve a problem with inline displaying of file attachments.
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Oct 7, 2018
1 parent 2ec310d commit 8088c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/SecureHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class SecureHeaders
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
*
* @return mixed
*/
Expand All @@ -51,6 +50,7 @@ public function handle(Request $request, Closure $next)
}
$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'",
Expand Down

0 comments on commit 8088c28

Please sign in to comment.