mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 16:05:44 +00:00
Removed space in XSS header because safari was getting angry
This commit is contained in:
@ -14,7 +14,7 @@ class XssProtectHeader
|
||||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
$mode = '1; mode=block';
|
||||
$mode = '1;mode=block';
|
||||
$response = $next($request);
|
||||
$response->headers->set('X-XSS-Protection', $mode);
|
||||
return $response;
|
||||
|
||||
Reference in New Issue
Block a user