Is this space necessary? Getting weird results from netsparker

This commit is contained in:
snipe 2017-09-28 17:25:04 -07:00
parent 26a7701cda
commit 1775995f26

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;