Skip to content

Commit 2478282

Browse files
Merge pull request #3347 from Delvar/patch-1
Fix syntax for Referrer-Policy header assignment
2 parents 7bf6eb6 + 09e3e1a commit 2478282

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Core/Middleware/InitialHeaders.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function handle($request, Closure $next): Response
5555
'X-Frame-Options' => 'SAMEORIGIN',
5656
'X-XSS-Protection' => '1; mode=block',
5757
'X-Content-Type-Options' => 'nosniff',
58-
'Referrer-Policy', 'same-origin',
58+
'Referrer-Policy' => 'same-origin',
5959
'Access-Control-Allow-Origin' => BASE_URL,
6060
'Cache-Control' => 'no-cache, no-store, must-revalidate',
6161
'Pragma' => 'no-cache',

0 commit comments

Comments
 (0)