mirror of https://github.com/MISP/MISP
fix: [refanging] Removed obnoxious regexes, fixes #7214
- refanging \\. and .. to . is a stupid ideapull/7215/head
parent
a65cb60d7a
commit
b773361561
|
@ -10,15 +10,10 @@ class ComplexTypeTool
|
|||
'types' => array('link', 'url')
|
||||
),
|
||||
array(
|
||||
'from' => '/(\[\.\]|\[dot\]|\(dot\)|\\\\\.)/',
|
||||
'from' => '/(\[\.\]|\[dot\]|\(dot\))/',
|
||||
'to' => '.',
|
||||
'types' => array('link', 'url', 'ip-dst', 'ip-src', 'domain|ip', 'domain', 'hostname')
|
||||
),
|
||||
array(
|
||||
'from' => '/\.+/',
|
||||
'to' => '.',
|
||||
'types' => array('ip-dst', 'ip-src', 'domain|ip', 'domain', 'hostname')
|
||||
),
|
||||
array(
|
||||
'from' => '/\[hxxp:\/\/\]/',
|
||||
'to' => 'http://',
|
||||
|
|
Loading…
Reference in New Issue