Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5337

Notifications and alerts should support HTML content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • 6.1.3, 6.2
    • 6.1
    • admincentral
    • None

    Description

      Notifications and alerts often contain HTML formatted text. Currently this seems not to be always supported by Magnolia (IIRC, Vaadin now disallows html content by default for security reasons). See attachment. More examples can be found in the two tickets linked as duplicate.

      After proper text sanitisation on the server side, it should be safe to allow HTML content. Sanitisation is important here because the text displayed may partly come from the client and contain malicious executable code.

       

      See info.magnolia.ui.AlertBuilder and info.magnolia.admincentral.ResurfaceShell#openNotification (for legacy notifs)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                asiska Adam Siska
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD