Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.4.4, 7.1.1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The error summary field on the Mail Status Sending livetable needs to be escaped. For example the following summary breaks the livetable due to the lack of Javascript encoding:
'state' : "failed", 'wiki' : "xwiki", 'error' : "SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender ", 'actions' : "<form action=\'\' enctype=\'multipart\/form-data\' method=\'post\'>\r\n<input name=\'mail_id\' value=\'00beae59-b4a9-4965-9be8-ce51ec5dbf19\' type=\'hidden\'\/>\r\n<input name=\'batch_id\' value=\'2283bf78-ccbe-4d85-8bed-701b762cc629\' type=\'hidden\'\/>\r\n<span class=\'btn-group text-left\'><input name=\'mailsendingaction_resend\' value=\'Resend\' class=\'btn btn-primary btn-sm\' type=\'submit\'>\r\n<\/span>\r\n<\/form>" }
Attachments
Issue Links
- is duplicated by
-
XWIKI-12825 Unable to load the mail status livetable due to syntax error in JSON parsing
- Closed