mirror of https://github.com/MISP/MISP
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
parent
e24a9eb44c
commit
431ccc6a04
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue