Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12264

The error summary column breaks the Mail Sending Status livetable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.1, 8.2-milestone-1, 7.4.4
    • 6.4.4, 7.1.1
    • Mail
    • 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

          Activity

            People

              camil7 Clemens Robbenhaar
              oana.tabaranu Elena-Oana Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: