mirror of https://github.com/CIRCL/lookyloo
new: Initial display of redirect on popup page
parent
c653472ab2
commit
90843eb8dc
|
@ -173,6 +173,7 @@ def hostnode_popup(tree_uuid: str, node_uuid: str):
|
|||
'video': "/static/video.png",
|
||||
'livestream': "/static/video.png",
|
||||
'response_cookie': "/static/cookie_received.png",
|
||||
# redirect has to be last
|
||||
'redirect': "/static/redirect.png",
|
||||
'redirect_to_nothing': "/static/cookie_in_url.png"
|
||||
}
|
||||
|
|
|
@ -104,6 +104,11 @@
|
|||
<a href="{{ url_for('urlnode_details', tree_uuid=tree_uuid, node_uuid=urlnode.uuid) }}" title="Download the content of the response">
|
||||
<img src="{{ path }}" alt="{{ key }}" width="21" height="21"/>
|
||||
</a>
|
||||
{% elif key == "redirect" %}
|
||||
<a href="{{ url_for('urlnode_details', tree_uuid=tree_uuid, node_uuid=urlnode.uuid) }}" title="See the node the URL redirects to.">
|
||||
<img src="{{ path }}" alt="{{ key }}" width="21" height="21"/>
|
||||
</a>
|
||||
Redirect to: {{ shorten_string(urlnode.redirect_url, 50) }}
|
||||
{% else %}
|
||||
<img src="{{ path }}" alt="{{ key }}" width="21" height="21"/>
|
||||
{%endif%}
|
||||
|
|
Loading…
Reference in New Issue