Fixed an issue where server names with special characters are not displayed correctly in the process tab. Fixes #7695

This commit is contained in:
Aditya Toshniwal
2022-09-15 16:43:37 +05:30
committed by Akshay Joshi
parent 769f58970e
commit 04b1e26041
9 changed files with 10 additions and 22 deletions

View File

@@ -98,7 +98,7 @@ class IEMessage(IProcessDesc):
if s is None:
return _("Not available")
return html.safe_str("{0} ({1}:{2})".format(s.name, s.host, s.port))
return "{0} ({1}:{2})".format(s.name, s.host, s.port)
@property
def message(self):
@@ -107,9 +107,7 @@ class IEMessage(IProcessDesc):
"Copying table data '{0}.{1}' on database '{2}' "
"and server '{3}'"
).format(
html.safe_str(self.schema),
html.safe_str(self.table),
html.safe_str(self.database),
self.schema, self.table, self.database,
self.get_server_name()
)