mirror of https://github.com/MISP/MISP
parent
2afea61ea0
commit
9db3a36103
|
@ -1854,8 +1854,8 @@ class AttributesController extends AppController {
|
|||
if ($eventId) $file .= 'event-' . $eventId . '.';
|
||||
if ($from) $file .= 'from-' . $from . '.';
|
||||
if ($to) $file .= 'to-' . $to . '.';
|
||||
if ($file == '') $file = 'all';
|
||||
$this->header('Content-Disposition: download; filename="misp.rpz.' . $file . '.txt"');
|
||||
if ($file == '') $file = 'all.';
|
||||
$this->header('Content-Disposition: download; filename="misp.rpz.' . $file . 'txt"');
|
||||
$this->layout = 'text/default';
|
||||
$this->loadModel('Whitelist');
|
||||
$values = $this->Whitelist->removeWhitelistedValuesFromArray($values);
|
||||
|
|
|
@ -3167,7 +3167,7 @@ class EventsController extends AppController {
|
|||
'checkbox_set' => '/true'
|
||||
),
|
||||
'rpz' => array(
|
||||
'url' => '/attributes/rpz/download',
|
||||
'url' => '/attributes/rpz/download/false/' . $id,
|
||||
'text' => 'RPZ Zone file',
|
||||
'requiresPublished' => true,
|
||||
'checkbox' => false,
|
||||
|
|
Loading…
Reference in New Issue