mirror of https://github.com/MISP/MISP
fix sanitization in Servers #96
parent
31aefac521
commit
5c0fc36b79
|
@ -70,7 +70,7 @@ class ServersController extends AppController {
|
||||||
'conditions' => array($conditions),
|
'conditions' => array($conditions),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$this->set('servers', Sanitize::clean($this->paginate()));
|
$this->set('servers', $this->paginate());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -124,7 +124,7 @@ class ServersController extends AppController {
|
||||||
} else {
|
} else {
|
||||||
$this->Server->read(null, $id);
|
$this->Server->read(null, $id);
|
||||||
$this->Server->set('authkey', '');
|
$this->Server->set('authkey', '');
|
||||||
$this->request->data = Sanitize::clean($this->Server->data);
|
$this->request->data = $this->Server->data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue