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

Magnolia 6.3 - Global validator SafeHtmlValidatorDefinition does not accept HTML comment block

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • 6.3.0
    • 6.2.21
    • None
    • None
    • Yes
    • Yes

      Steps to reproduce

      1.  Enable source mode for any Rich Text Field
      2.  Put an HTML comment into "source" mode with some valid text and tags
      3. Save the component

      .. Logs, screenshots, gifs...

      Expected results

      • Content save without any error

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      • Users cannot save content, "Malicious HTML code found" validation error occurred.

      Workaround

      • Please ask users/customers to temporarily remove the comment(s) from your HTML by using any HTML editor / online editor tool for that.

      Development notes

      • N/A

        Acceptance criteria

              jsarf Jaromir Sarf
              viet.nguyen Viet Nguyen
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: