Removed space in XSS header because safari was getting angry

This commit is contained in:
snipe 2017-09-28 18:45:54 -07:00
parent b3e0d8f675
commit b60febeea2

View file

@ -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;