mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes copy button not correctly working
This commit is contained in:
parent
8cb1a6fc28
commit
477dfcf29c
4 changed files with 21 additions and 3 deletions
|
|
@ -5126,6 +5126,14 @@ function format_tls_info(tls_info)
|
|||
tls_info["ja3.server_unsafe_cipher"] = string.format('<span class="badge bg-%s">%s</span>', badge, tls_info["ja3.server_unsafe_cipher"])
|
||||
end
|
||||
|
||||
if tls_info["ja3.server_hash"] then
|
||||
tls_info["ja3.server_hash"] = i18n("copy_button", { full_name = tls_info["ja3.server_hash"], name = tls_info["ja3.server_hash"] })
|
||||
end
|
||||
|
||||
if tls_info["server_names"] then
|
||||
tls_info["server_names"] = string.format('<span title="%s">%s</span>', tls_info["server_names"], shortenString(tls_info["server_names"],128))
|
||||
end
|
||||
|
||||
return tls_info
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue