diff --git a/scripts/lua/modules/lua_utils_gui.lua b/scripts/lua/modules/lua_utils_gui.lua index 91aaaeb08dc7..a908d567b99b 100644 --- a/scripts/lua/modules/lua_utils_gui.lua +++ b/scripts/lua/modules/lua_utils_gui.lua @@ -1237,6 +1237,14 @@ function format_http_info(http_info, no_html) end end + if http_info["last_user_agent"] then + if no_html then + http_info["last_user_agent"] = http_info["last_user_agent"] + else + http_info["last_user_agent"] = string.format('%s', http_info["last_user_agent"]) + end + end + return http_info end