mirror of https://github.com/MISP/MISP
chg: [internal] URL is already defang in ComplexTypeTool
parent
ace025e085
commit
d1a6a94f78
|
@ -1593,10 +1593,6 @@ class Attribute extends AppModel
|
|||
$value = preg_replace('/\(0\)/', '', $value);
|
||||
$value = preg_replace('/[^\+0-9]+/', '', $value);
|
||||
break;
|
||||
case 'url':
|
||||
$value = preg_replace('/^hxxp/i', 'http', $value);
|
||||
$value = preg_replace('/\[\.\]/', '.', $value);
|
||||
break;
|
||||
case 'x509-fingerprint-md5':
|
||||
case 'x509-fingerprint-sha256':
|
||||
case 'x509-fingerprint-sha1':
|
||||
|
|
Loading…
Reference in New Issue