Change of domain type in IOC Export fixes #134

pull/217/head
iglocska 2013-07-16 08:45:36 +02:00
parent 85a7e8c97c
commit 30d6bebcf8
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ class IOCExportComponent extends Component {
$this->final[] = ' <Content type="string">' . h($attribute['value']) . '</Content>';
break;
case 'domain':
$this->final[] = ' <Context document="Network" search="Network/DNS" type="mir" />';
$this->final[] = ' <Content type="string">' . h($attribute['value']) . '</Content>';
break;
case 'url':
$this->final[] = ' <Context document="UrlHistoryItem" search="UrlHistoryItem/URL" type="mir" />';
$this->final[] = ' <Content type="string">' . h($attribute['value']) . '</Content>';