XSS problem detected when is Google Chrome - refs BT#7930

1.9.x
Francis Gonzales 11 years ago
parent a9cc2a04e6
commit 9d0baf39ed
  1. 6
      main/inc/introductionSection.inc.php

@ -271,3 +271,9 @@ if ($intro_dispCommand) {
}
}
$introduction_section .= '</div>';
$browser = api_get_navigator();
if (strpos($introduction_section, '<iframe') !== false && $browser['name'] == 'Chrome') {
header("X-XSS-Protection: 0");
}

Loading…
Cancel
Save