chg: [response header] Added `X-XSS-Protection` header

- As reported by an external pentest company on behalf of the Centre for Cyber security Belgium (CCB)
pull/5687/head
mokaddem 2020-03-06 16:06:35 +01:00
parent e24a9eb44c
commit 431ccc6a04
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ class AppController extends Controller
$this->_stop();
}
}
$this->response->header('X-XSS-Protection', '1; mode=block');
if (!empty($this->params['named']['sql'])) {
$this->sql_dump = intval($this->params['named']['sql']);