mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
fix a display bug in notification bodies with unicode characters
see: https://github.com/ansible/awx/issues/7400
This commit is contained in:
@@ -393,7 +393,11 @@ class JobNotificationMixin(object):
|
||||
'job': job_context,
|
||||
'job_friendly_name': self.get_notification_friendly_name(),
|
||||
'url': self.get_ui_url(),
|
||||
'job_metadata': json.dumps(self.notification_data(), indent=4)
|
||||
'job_metadata': json.dumps(
|
||||
self.notification_data(),
|
||||
ensure_ascii=False,
|
||||
indent=4
|
||||
)
|
||||
}
|
||||
|
||||
def build_context(node, fields, allowed_fields):
|
||||
|
||||
Reference in New Issue
Block a user