mirror of https://github.com/MISP/MISP-maltego
fix: [url] display link in short_title to have it directly visible
parent
f15d08aaa1
commit
dd7c8e2460
|
@ -191,7 +191,7 @@ def attribute_to_entity(a, link_label=None, event_tags=[], only_self=False):
|
||||||
|
|
||||||
# special cases
|
# special cases
|
||||||
if a['type'] in ('url', 'uri'):
|
if a['type'] in ('url', 'uri'):
|
||||||
yield(URL(url=a['value'], link_label=link_label, notes=notes, bookmark=Bookmark.Green))
|
yield(URL(url=a['value'], short_title=a['value'], link_label=link_label, notes=notes, bookmark=Bookmark.Green))
|
||||||
return
|
return
|
||||||
|
|
||||||
# attribute is from an object, and a relation gives better understanding of the type of attribute
|
# attribute is from an object, and a relation gives better understanding of the type of attribute
|
||||||
|
|
Loading…
Reference in New Issue