mirror of https://github.com/MISP/MISP
fix: [bug] Typo causing "\" to be stripped from attributes where it shouldn't be stripped
parent
232946c6eb
commit
5eecd75e5b
|
@ -67,7 +67,7 @@ class ComplexTypeTool
|
|||
public function refangValue($value, $type)
|
||||
{
|
||||
foreach ($this->__refangRegexTable as $regex) {
|
||||
if (!isset($regex['type']) || in_array($type, $regex['types'])) {
|
||||
if (!isset($regex['types']) || in_array($type, $regex['types'])) {
|
||||
$value = preg_replace($regex['from'], $regex['to'], $value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue