mirror of https://github.com/CIRCL/lookyloo
fix: Only display POSTed data length if it is a string
parent
2a843ac828
commit
333c5ec051
|
@ -202,10 +202,12 @@
|
||||||
{{ popup_icons_request(url['url_object'], tree_uuid) }}
|
{{ popup_icons_request(url['url_object'], tree_uuid) }}
|
||||||
|
|
||||||
{% if url['url_object'].posted_data %}
|
{% if url['url_object'].posted_data %}
|
||||||
<a href="{{ url_for('urlnode_post_request', tree_uuid=tree_uuid, node_uuid=url['url_object'].uuid) }}">
|
<a href="{{ url_for('urlnode_post_request', tree_uuid=tree_uuid, node_uuid=url['url_object'].uuid) }}">
|
||||||
Download posted data
|
Download posted data
|
||||||
</a></br>
|
</a></br>
|
||||||
Posted data size: {{ sizeof_fmt(url['url_object'].posted_data|length) }}
|
{% if url['url_object'].posted_data is string %}
|
||||||
|
Posted data size: {{ sizeof_fmt(url['url_object'].posted_data|length) }}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if url['cookies_sent'] %}
|
{% if url['cookies_sent'] %}
|
||||||
|
|
Loading…
Reference in New Issue