fix: [refanging] Removed obnoxious regexes, fixes #7214

- refanging \\. and .. to . is a stupid idea
pull/7215/head
iglocska 2021-03-16 23:13:52 +01:00
parent a65cb60d7a
commit b773361561
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 6 deletions

View File

@ -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://',